Map Process Data
Use Map Process Data action to assign (map) value to aย process variable.
A process variable is a placeholder for data that can be accessed throughout the lifecycle of a process. It is how data is transferred between actions in a process.ย
Process variables can receive values:
- When defining a process variable, in Default value (seeย Working with process variablesย article).
- When manually kicking off a process, for process variables marked as input (seeย Running a process flowย article).
- When scheduling a process, for process variables marked as input (seeย Scheduling a processย article).
- Withinย theย process, using Map Process Data action.
You can use Map Process Data to either give values to your process variable or to change the value of the process variable.
A process variable can be mapped to:
- a constant value
- a dynamic value (coming from another process variable)
How to configure the Map process data action?
Go to the Process Designers section and open a new or an existing process. Actions configuration can be performed once they are dragged and dropped on canvas.
Step 1:ย Drag the Map Process Data action from Toolbar and drop it on canvas; click on the action to open the Properties Panel.
Step 2:ย You can edit the Action Name.
Step 3:ย Click on Map Process Data (not configured) card to go to the configurations steps.
Step 4:ย Map process data configuration
- you can assign to a process variableย a constantย value or a dynamic value (coming from another process variable). When the action is executed, data is assigned to your process variable.
- press +Add variable and the selector will open displaying theย availableย process variablesย
- on the left side, select the process variable you want to assign new value to
- on the right side, insert new value or a process variable from which it will receive new value.
You can assign values to multiple process variables at once in Map Process Data action.
๏ปฟ
Consider that data types must match when assigning values to process variables. ย Exception:ย String is the only data type that accepts all other data types.
๏ปฟ