Describes how to use the set var step

Description

Sets a new variable in the current context of execution.

Category

System

Inputs

Label Type Required Default Visibility Description

Name

text

yes

Always

Value Type

choice

yes

Fixed

Always

Possible values are:
Fixed
Script
Expression

Script Value

script

config.valueType is SCRIPT

config.valueType is SCRIPT

Fixed Value

text

config.valueType is FIXED

config.valueType is FIXED

Expression Type

choice

config.valueType is EXPRESSION

config.valueType is EXPRESSION

Possible values are:
Current User
Field Value

Context Item

object

config.expressionType.name is FIELD_VALUE

config.expressionType.name is FIELD_VALUE

Field

entityField

config.expressionType.name is FIELD_VALUE

config.expressionType.name is FIELD_VALUE

Outputs

Name Type Description

resultVariable

record / field

Variable returned.

Sample

Set var image

The flow starts, the set var step sets a new variable to the context and then the execution finishes with the end step.

Back to top