TWorkflowDefinition
The root type for a workflow definition:| Property | Description |
|---|---|
id | Unique identifier |
name | Human-readable name |
steps | Array of step definitions |
stepTransitions | Connections between steps |
stepGroups | UI groupings for steps |
legacyServiceRequestType | Maps to service request type |
Step definitions
TWorkflowBaseStepDefinition
Base properties shared by all steps:| Property | Description |
|---|---|
id | Unique step identifier |
type | Step type enum value |
name | Display label |
outputSchema | JSON Schema for output validation |
group | Grouping metadata |
legacyServiceRequestTaskKey | Legacy task mapping |
activationPolicy | Default activation state |
ui.reactFlow.position | Visual editor coordinates |
TStepActivationPolicy
Control flow steps
Human steps
Gateway steps
Sub-workflow steps
Base definition
| Property | Description |
|---|---|
mode | SINGLE or BATCH |
childWorkflowTemplateVersionId | Child workflow to execute |
dataSources | Data to fetch before execution |
inputMapping | How to populate child context |
contextProjection | How to project child outputs back |
childWorkflowName | Dynamic naming expression |
Single mode
Batch mode
iterable property defines how to construct the batch collection.
Union type
Step transitions
TWorkflowStepTransition
| Property | Description |
|---|---|
id | Unique identifier |
fromStepId | Source step |
toStepId | Target step |
condition | Optional conditional expression |
isDefault | Default branch for exclusive gateways |
label | Display label |
onArrival | Actions when transition activates target |
ui.reactFlow.handle | Visual editor handle references |
TStepTransitionOnArrival
ACTION_REQUIRED when an issue is reported.
Step groups
TStepGroup
| Property | Description |
|---|---|
id | Unique identifier |
name | Display name |
stepIds | Steps belonging to this group |
legacyServiceRequestTaskGroupKey | Legacy task group mapping |
Example definition
Next steps
Runtime types
Execution runtime types
Validation rules
Definition validation rules