Symptom
Documentation shows how to read CSV files into a JavaScript task, but still unknown how to put those values into a variable in SAP Signavio Process Governance. How is this possible?
Resolution
In order to assign values to process variables, they first have to be added to the script task: Using process variables
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: Data types and formats
Keywords
javascript, workflow, process governance, variables , KBA , BPI-SIG-PG-JS , JavaScript for SAP Signavio Process Governance , How To