Creating and Editing Process Variables - Creating and Editing Process Variables - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/xto1673519414848 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-09T23:07:34.300254
ft:locale
en-US

Process variables store values and pass them between BPMN elements during a process instance. For example, data entered in a form can be stored in a process variable and then used by another element, such as a decision table. Process variable scope is limited to the process definition, not the diagram, which is especially important when a diagram contains multiple pools. If a diagram contains multiple pools, a variable created for one process definition is not automatically available in another.

Use process variables when data must be reused later in the process, passed between tasks, evaluated in rules, or exposed to users, APIs, or analytics, for example if a task needs to read a variable value or it modifies the value.

To create a process variable:

  1. Select the project and process for which to create a process variable.
  2. Select Edit Process Variables against the correct process definition. If the diagram contains one process definition, click a blank area of the canvas so the button appears in the properties panel; if the diagram contains multiple process definitions, select the correct pool first.
    • If the diagram contains only one process definition, make sure no BPMN element is selected by clicking on a blank section of the canvas and the Edit Process Variables button will be visible in the right-hand properties panel.

    • If the diagram contains more than one process definition, click on the individual pools to view the Edit Process Variables button for each definition.

  3. Click Create process variable.
    The Process Variables dialog box is displayed.
  4. Enter the variable name into the Name field. The name must be unique and can contain alphanumeric characters and underscores but must begin with a letter
    Note:

    Do not use these reserved names for custom variables: nrOfInstances, nrOfActiveInstances, nrOfCompletedInstances and loopCounter, since they are used by multi-instance elements.

  5. Select the variable category from the Category drop-down menu. The available options are:
    Category Description
    Local A variable that stores data available only in the process.
    Input/Output A variable used both to receive input and store output.
    Input A variable used to receive input values.
    Output A variable used to store results generated within the process.
  6. Select the variable type from the Type drop-down menu.
    The following variable types are available:
    Type Description
    String

    A sequence of characters typically used for text values, such as names, IDs, or labels. It is commonly used to store data or to pass user-entered data between tasks.

    For example: Anna Kowalska.

    Integer

    A positive whole number. It is commonly used when counting items, tracking iterations or thresholds.

    For example: 642.
    Boolean

    A value of either true or false. It is commonly used to drive process gateways or checkboxes.

    For example: true.

    Date

    A specific calendar date in the YYYY-MM-DDformat without time. It is commonly used to track deadlines or compare dates.

    You can also select Today from the Value column, which will take the form ${now()} in the Expression column.

    For example: 2020-04-22

    Datetime

    A specific date and time in the format YYYY-MM-DD HH:mm:ss. It is commonly used for precise event tracking.

    For example: 2020-09-10 22:30:00.

    Content

    A reference to repository document. It is commonly used to attach documents to a process, pass files between tasks, or send documents through the connectors.

    For example, a document ID.

    JSON

    A structured JSON object. It is commonly used to store API responses, handle complex data from external systems, or pass structure objects between tasks.

    For example:

    customer = {
      "name": "Anna Kowalska",
      "tier": "Gold",
      "address": {
        "city": "Gdynia",
        "postalCode": "81-001"
      }
    }
    Array A comma separated list of values. It is commonly used for multi-selecting inputs and storing collections of values.

    For example, for a list of approvers within a process: john.doe, jane.doe, anna.kowalska

  7. Optional: Enter a meaningful description in the Variable description field. This description is displayed when re-using the variable throughout the process.
  8. Select any additional options in the Options section.
    Option Description
    Required Marks the variable as required for the process.
    Ephemeral

    Keeps the value available during process execution without storing it in the system, which is useful for large values and can reduce database clutter.

    Use Ephemeral for temporary execution data you do not need to keep after the process runs, especially when the value is large.

    Available in the web application

    Makes the variable visible in the web interface and API. When selected, you can also provide a Display Name.

    Select this option when the variable should appear in lists, APIs, or other user-facing areas.

    Available in Analytics Makes the variable available for filtering in dashboards in the Admin application. For more information on the Dashboards, see Automate Administration documentation.

    Other options differ, depending on the selected variable type.

  9. Once the settings are finished, click Save to save the variable, or Save and add new to open an empty Create variable window.
Variables can be later mapped to particular BPMN elements of the process. To learn more, see Mapping Process Variables.