SAP Knowledge Base Article - Public

3160452 - How to read CSV File in javascript task


I have looked into your documentation and find how to read CSV File in javascript task, but I still do not know how can I put those value into a variable. Can you help us with that?


In order to assign values to process variables, you first have to add them to the script task:
Once added, the script can access the variables using the JavaScript variable name from the Variables table.

To assign a new value to the variable, simply write assignment statement. For a text variable it would look like this:

myVariable = 'new Value'

The following documentation contains more information on the expected data format for the different variable types:


KBA , BPI-SIG-PG-JS , JavaScript for SAP Signavio Process Governance , How To


SAP Signavio Process Governance all versions ; Workflow Accelerator by Signavio all versions