Initialize & Set Primitive Variables

The Initialize & Set Primitive Variable workflow action allows you to define and assign a value to a primitive variable, such as text, number, or date, which can later be used in subsequent workflow steps.

Key Configuration Fields

  • Name

    • Enter a unique name for this workflow action.

    • Validation Rules:

      1. The name must be unique.

      2. The name length must be between 2 and 100 characters.

      3. The name cannot be empty.

      4. The name cannot include special characters, or spaces, or start with a numeric character.

  • Type

    • Select the data type of the variable. Available options include:

      • Text

      • Whole Number

      • Decimal

      • Boolean

      • Date / Time

    • Validation Rules:

      1. The type cannot be empty.

  • Is List (Optional)

    • A toggle that, when enabled, allows the variable to hold multiple values as a list.

  • Value

    • Enter the value for the initialized variable. This field is dynamic and adapts based on the selected type.

  • Continue on Error (Optional)

    • A toggle that, when set to True, allows the workflow to continue running even if an error occurs while setting the variable. The workflow will bypass the error and proceed without pausing.

Behavior After Configuration

The initialized variable and its value will be added to the workflow context upon submission, which can be referenced in subsequent workflow actions.

Editing the Initialize & Set Primitive Variable Action

  • Fields:

    • Always Disabled: Name field

    • Always Editable: Continue on Error toggle

    • Disabled Once Used or Referenced in Another Workflow Action: Type field, Is List toggle, Value field

Last updated