SAP Knowledge Base Article - Public

3243404 - How to access Case variables in Script Task in Workflow Accelerator

Symptom

How to access Case variables to add 2 days on due date using Script Task? 



Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Resolution

As the first thing, you need to add "Case" in your Script Task.

Then, the variables in Case object is available in the script. You can do for example:

js

Test Results like;



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

Attachments

image2021-7-29_12-0-9.png
image2021-7-29_12-5-26.png