End iteration
Description
The End Iteration activity marks the termination point of a repeated loop created using the Start Iteration activity.
It acts as the final checkpoint where the workflow gathers and optionally merges the data produced during each iteration cycle.
This is especially useful in scenarios where:
- Multiple data batches are processed in a loop.
- The results from each loop need to be collected for reporting, analysis, or downstream processing.
Use Case:
After looping through a list of input files or records, use End Iteration to collect the final results in a single table and determine whether to stop the entire workflow on failure or specific conditions.
Input
Type | Required |
---|---|
Data | Required |
Output
Type | Description |
---|---|
Data | Combined or final iteration data |
Configuration Fields
Field | Required | Description |
---|---|---|
Merge data of all iterations | Optional | If enabled, the output from all iterations will be merged into a single dataset. |
Terminate workflow on any iteration | Optional | If enabled, the workflow will immediately stop if any iteration returns a failure or meets a termination condition. |
Sample Input
Not applicable
Sample Configuration
Field | Value |
---|---|
Merge data of all iterations | Enabled |
Terminate workflow on any iteration | True |
Sample Output
Not applicable — Output depends on prior iteration logic. When enabled, expect a unified dataset containing combined results from all iterations.
Use Terminate Workflow on Any Iteration to gracefully stop long-running loops if one of the iterations fails .