Skip to main content
Version: Current

Add To Collection

Description

The Add To Collection activity appends an item to a Model Data collection (Field[]).

Use this activity to build collections during workflow execution, such as collecting values from a loop, aggregating results from multiple activities, or constructing a FileReference[] for downstream AI and document-processing activities.


Common Capabilities

Process Data Support

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design Time Configuration

Display Text

The label displayed for this activity on the workflow canvas.

Collection

The Model Data path of the target collection.

Notes:

  • Only Model Data collections are supported.
  • The target field must be an array (Field[]).

Examples:

  • modelData.OrderIds
  • modelData.CustomerNames
  • modelData.AttachmentFiles

For File Reference collections, see File Reference.

Item

The item to append to the collection.

Use Process Data binding to select a value from:

  • Model Data
  • Activity Outputs
  • Expressions
  • System Data
  • Form Data

For FileReference[] collections, bind a file handle such as an attachment File output or another file-producing activity output.


Common Activity Features

Wait All Incoming

Execution Control

Controls how this activity behaves when multiple incoming execution paths converge.

Learn more → Execution Control

On Error

Error Handling

Defines how the workflow behaves if this activity encounters a runtime error.

Learn more → Error Handling


Outputs

This activity does not produce any outputs.