Model Data
Overview
Model Data defines the data structure used by a workflow or agent during execution. It represents the business data that activities read from and write to while the workflow runs.
Model Data is:
- Defined at design time
- Instantiated per workflow instance
- Used for decision-making, data passing, integrations, and task inputs
You can organize Model Data hierarchically using fields, arrays, groups, and group arrays to accurately model real-world business data.

Key Concepts
Field
A Field represents a single value of a specific data type.
Examples:
CustomerName(String)OrderAmount(Decimal)IsApproved(Boolean)
Field[]
A Field[] represents a collection (array) of values of the same data type.
Examples:
OrderIds[](Array of Integer)EmailAddresses[](Array of String)
Use Field[] when:
- Multiple values of the same type are expected
- The count of values is dynamic or unknown
Group
A Group is a logical container used to organize related fields.
Examples:
Customer-FirstName-LastName-Email
Groups help:
- Improve readability
- Model structured objects
- Avoid flat, unmanageable data models
Group[]
A Group[] represents an array of structured objects.
Examples:
OrderItems[]-ProductId-Quantity-Price
Use Group[] when:
- You need to represent repeating business entities
- Each item has multiple related attributes
Creating Model Data
Creating a Field
To create a new field:
- Right-click the Fields node
- Select Add Field
- Enter a Name
- Select a Data Type
- (Optional) Enter a Description
- Click Add

Editing a Field
To edit an existing field:
- Right-click the field
- Select Edit
- Modify the required properties
- Click Update

Creating a Field[]
To create an array field:
- Right-click the Fields node
- Select Add Field[]
- Enter a Name
- Select the Data Type of array elements
- (Optional) Add a Description
- Click Add
The system automatically treats this field as a collection.
Editing a Field[]
To edit an existing array field:
- Right-click the field
- Select Edit
- Update the properties
- Click Update
Working with Groups
Creating a Group
To create a group:
- Right-click the Fields node
- Select Add Group
- Enter a Name
- (Optional) Add a Description
- Click Add

Editing a Group
To edit an existing group:
- Right-click the group
- Select Edit
- Update the required properties
- Click Update

Creating a Group[]
To create a group array:
- Right-click the Fields node
- Select Add Group[]
- Enter a Name
- (Optional) Add a Description
- Click Add
Use Group[] when modeling collections of structured objects, such as:
- Line items
- Users
- Approvals
- Records returned from a database
Editing a Group[]
To edit an existing group array:
- Right-click the group
- Select Edit
- Modify the required properties
- Click Update
Using Model Data in Activities
Model Data fields can be:
- Used as inputs to activities
- Populated as outputs from activities
- Referenced in conditions, expressions, and mappings
- Passed between workflows or agents as arguments
Model Data ensures type safety, clarity, and predictable execution across your workflows.
Best Practices
- Use Groups to avoid flat data models
- Use Field[] and Group[] for dynamic or repeating data
- Name fields clearly to reflect business meaning
- Add descriptions to improve maintainability
- Avoid unnecessary nesting unless it reflects real structure
Model Data forms the foundation for reliable, scalable workflow design.