Assign

The assign node facilitates assignment of values to variables within flows. It is one of the most fundamental building blocks for data manipulation and transformation. With the Assign node, users can assign results of evaluating expressions, as well as results produced by other nodes, to local variables, enabling dynamic behavior and logic.


Properties

Common Properties

Name - refers to the unique identifier or label assigned to a node within a flow.

Type
Restrictions

input Text

  • must consist of letters (A-Z or a-z), digits (0-9), underscores (_), or dollar signs ($). However, a class name cannot start with a digit and dollar sign ($)

  • Unique per flow

  • Mandatory

  • Min length: 1

  • Max length: 255

Description - provides a textual description or additional information about a node within a flow. Unlike the name property, which serves as a unique identifier or label for the node, the description property offers supplementary details that help to clarify the purpose, functionality, or behavior of the node.

Type
Restrictions

Input Text

  • Max length: 5000

Assignment-Specific Properties

Multiple conditions are allowed to be added.

Each condition contains two settings:

  1. Variable - refers to any variable available in the scope of the node.

Global variables cannot be reassigned.

Type
Restrictions
  • Mandatory

  1. Assign - an expression that will be calculated, and the result assigned to the variable.

Type
Restrictions
  • Mandatory


Result

As a result of executing this node, variables specified in it will be populated with new values.


Connections

This node can have one or more incoming connections, but only one outgoing connection.

Type
Min count
Max count

in

1

*

out

1

1

Last updated