Multi Assign
Description
This activity allows the user to assign values to multiple variables in their configured order.
Common settings
Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.
Design-Time Configuration
Display Text
Specify the activity name that shows in your process.
Assignment
Add an entry for each variable to update. Use the destination paths supported by the activity: modelData for Workflow Data, formData for Form Data, and eVars for Enterprise Variables.
- To – Select the destination variable from the Process Data drawer, or double-click the field to enter or edit its reference path.
- Value – Specify the value or expression to assign. Select the syntax from the drop-down menu and enter the value in the editor.
| Syntax | Description |
|---|---|
| Liquid | Evaluate a Liquid expression. |
| Literal | Assign a literal value directly. |
| JavaScript | Evaluate a JavaScript expression. |
Assignment order
Each value is evaluated and assigned before the next row is processed. Later expressions can read values assigned by earlier rows. Place dependencies in that order. If an assignment fails, earlier successful assignments have already occurred.
Example: Update workflow data
Create a text field named CustomerName in Workflow Data. Set To to modelData.CustomerName, select Literal, and enter Acme Corp. To use that value in a later assignment, insert CustomerName from Process Data and choose the expression syntax for that row.
Execution settings
Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.