SAP Knowledge Base Article - Public

3160452 - How to read CSV File in javascript task

Symptom


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?



Resolution


In order to assign values to process variables, you first have to add them to the script task: https://docs.signavio.com/userguide/workflow/en/integration/javascript.html#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: https://docs.signavio.com/developer/workflow/types.html



Keywords

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

Product

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