Symptom
I have a problem with the Javascript task. In particular, I am taking a csv-file as an input and want to work with this data. When I check the script with test runner, it is working without any problem. But, if I start a new case it does not seem to read the data at all.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Resolution
If the tests of JavaScript Task are running correctly there is no problem with the code. Please check if your input is properly loaded. In the JavaScript task you can declare a CSV input variable with a test value. This makes a test run of this task successful, but the test data will not be used in a 'normal' run. Please assure yourself that the needed CSV file is created (or uploaded) and mapped before using it, e.g.:
And then map the input to the variable you want to use in further tasks:
Keywords
KBA , BPI-SIG-PG-JS , JavaScript for SAP Signavio Process Governance , How To
Product
Attachments
image2020-6-22_9-0-29.png |
image2020-6-22_9-1-17.png |
image2020-6-22_9-3-22.png |
image2020-6-22_9-4-13.png |