Skip to main content
Version: Current

Form Data

Overview

Form Data represents the data captured through forms used within an agent.

It provides a consolidated, read-only data model that is automatically generated from all forms defined in the agent. Workflow activities can use Form Data to access user-entered values without requiring additional mapping.

Form Data is available through the Process Data Explorer.


How Form Data Is Created

Form Data is generated automatically from the forms defined in the agent.

Whenever a form is created or modified:

  • Form controls become available as Form Data fields.
  • Field names are derived from the configured control names.
  • Data types are inferred from the control type.

Designers do not create or maintain Form Data manually.

The Form Data schema is updated automatically whenever a form definition changes.


Form Data Schema

Form Data presents a consolidated schema that combines fields from all forms defined in the agent.

This allows workflow activities to access user-entered values through a single Form Data hierarchy, regardless of which form collected the data.

This approach is particularly useful when multiple forms represent different views of the same underlying business data for different users or stages of the workflow.

For example, an agent may present different forms to different users while capturing the same business information. Although the forms may differ in layout or visible fields, the captured data is exposed through a single Form Data model.


Using Form Data

Form Data can be referenced anywhere the Process Data Explorer is available.

Typical uses include:

  • Configuring workflow activities.
  • Building expressions.
  • Evaluating conditions.
  • Calling external services.
  • Populating Model Data.
  • Assigning Workflow Outputs.

Form Data is read-only within workflows.

Workflow activities can read values captured by forms but cannot modify them directly.


Runtime Behavior

The Form Data schema is defined at design time.

Values are populated during workflow execution when users interact with and submit forms.

Once captured, the values become available to downstream workflow activities through the Process Data Explorer.


Form Data and Model Data

Although both are available through the Process Data Explorer, Form Data and Model Data serve different purposes.

DataPurpose
Form DataStores values entered by users through forms.
Model DataStores business data and workflow state managed by workflow activities.

Form Data is read-only and reflects user input.

Model Data is read/write and is used by workflow activities to perform calculations, transformations, integrations, and other business processing.


Data Flow

The following diagram illustrates how form data typically flows through a workflow.

Forms


Form Data (Read-only)


Workflow Activities


Model Data (Read/Write)

Forms collect information from users.

The captured values are exposed through Form Data, which can then be read by workflow activities. Activities can use these values directly or copy them into Model Data for further processing and manipulation.


Current Behavior

note

The Form Data schema is currently consolidated across the entire agent.

If multiple workflows define forms, the fields from those forms are merged into the same Form Data hierarchy.

This design supports the common scenario where multiple forms represent different views of the same underlying business data. Future versions may provide workflow-scoped Form Data when workflows require completely independent form schemas.


Best Practices

  • Use Form Data only for values collected from users through forms.
  • Use meaningful control names to improve readability within the Process Data Explorer.
  • Move values into Model Data when they need to be transformed, updated, or reused throughout workflow execution.
  • Keep forms focused on collecting only the information required by the workflow.