Syvizo

Set variable



When to use

Use this policy when you want to set the value in flow variable



Details

Flow variables are variables that are created temporarily while the flow executes. In designing the flow, if you need temporary storage for any values that you need for policies in the flow or to be sent to the backend API call, you can set those values in flow variables using “Set Variable” policy.


Configuration

The configuration fields for the policy are:

[* Indicates a mandatory field]

Name *: Display name of the policy

Description: Description of policy

Enabled: Flag to indicate if the policy is enabled. If this field is not checked, the policy will be ignored at runtime and any fields from its output will contain a default initial value

Continue on Error: Flag to indicate that the flow should continue even if this policy throws an error



Input fields

flowVariable: The input field shows the structure of the flow variable in the mapping editor and any of the values in the structure can be set or mapped using mapper drag and drop



Output fields

The values of flow variable are available for input mappings and hence there is no specific output from this policy