SAP Knowledge Base Article - Public

3242751 - How to add multiline variables in Script Task in Workflow Accelerator

Symptom

We are trying to use multiline variables in Script Tasks in Workflow Accelerator in Script Task. It does not appear in either "Add new variable" or "Add existing variables" field dropdown. How can we add it?



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

Resolution

You can create multiline variables as process level.

Open the process → "Details" section → "Core information" → select data type fits to your scenario from "Add a field" section.

For multiline text for example, check "Multi-line".

The field created will appear in Script Task, "Add existing variables" dropdown to use in your script.


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-4-1_11-31-36.png
image2021-4-1_11-32-50.png
image2021-4-1_11-34-39.png
image2021-4-1_11-35-26.png
image2021-4-1_11-36-42.png