Work with Data Objects

Data objects are variables used to define the type of information used by your workflow. They are also used to store the value of this information.

Data Object Types

You can create and use data objects of the following types.
Type Description
String Represents a sequence of characters. For example: This text is a string.
Number Represents whole numbers and numbers with fractional or decimal components. For example: -5.75, 0.0, 100.25
Boolean Represents the logical values true or false.
Date Stores year, month, and day information, typically in a YYYY-MM-DD format.
Time Represents a specific time expressed as hour:minute:second.
DateTime Represents a specific date and time expressed as: year-month-day hour:minute:second. For example: 2014–12–14 13:20:28
Duration Represents a duration of time expressed as a number in years, months, days, hours, minutes, and seconds. For example: 1d3h30m.
Integer Represents an integer. For example: 23, –10, 0.

Create a Data Object

  1. Open a workflow.
  2. In the vertical toolbar on the right side of the workflow canvas, click Data.
  3. The Data pane appears and the following sections are displayed - Workflow Data, Input and Output.
    • Workflow Data lists all the data objects used in the workflow.
    • Input lists the data objects for receiving data into the workflow in the start event.
    • Output lists the data objects for data that goes out of the workflow in the end event.
  4. In the Data pane, click Create Data Object.

    The Create Data Object pane appears.

  5. In the Name field, enter a name for your data object or use the default name.
  6. Under Data Type, select Simple and then choose a data type from the drop-down menu.
  7. Click Create.

Editing and Deleting Data Objects

  • After editing a data object, you must ensure that all references to it are still valid. For example, if you change a data object type from an integer to a string, you must verify that all of the expressions that use the data object still function correctly. If they don’t function correctly, you won't be able to activate the workflow due to validation errors.
  • After deleting a data object, you must ensure that all references to it are removed. This includes any data associations and expressions that use the data object. If you don’t remove references to the deleted data object, you won't be able to activate the workflow due to validation errors.