Create a flow variable

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Create a flow variable to store and retrieve a value throughout a flow.

    Avant de commencer

    Role required: flow_designer or admin

    Procédure

    1. Navigate to All > Process Automation > Flow Designer.
    2. Click New > Flow.
    3. On the Flow Properties form, fill in the fields.
      For more information, see Create a flow in Workflow Studio.
    4. Click Submit.
    5. Click the more actions icon (More actions menu) and select Flow Variables.
    6. In the upper-right side of the Flow Variables form, click the plus icon (Plus icon.) to create a variable.
    7. On the form, fill in the fields.
      Tableau 1. Flow Variables form
      Field Description
      Label Unique label for the variable. It can consist of any text. The label is visible to the user.
      Name Unique name for the variable. Displays the name used to identify the variable in script calls. The name can only consist of alphanumeric and underscore characters. The system automatically converts the label into a valid name by removing or replacing any special characters. The name is not visible to the user, it's what the system uses behind-the-scenes.
      Type Data type for the variable.
    8. Click Save.

    Résultats

    The Data panel displays the variable in the Flow Variables section. It appears as a data pill, with its name and type.

    Que faire ensuite

    To assign a value to the variable, use the Set Flow Variables flow logic. If you don't assign a value, the default value is null.