Skip to content

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

TypeRequired
DataRequired

Output

TypeDescription
DataCombined or final iteration data

Configuration Fields

FieldRequiredDescription
Merge data of all iterationsOptionalIf enabled, the output from all iterations will be merged into a single dataset.
Terminate workflow on any iterationOptionalIf enabled, the workflow will immediately stop if any iteration returns a failure or meets a termination condition.

Sample Input

Not applicable


Sample Configuration

FieldValue
Merge data of all iterationsEnabled
Terminate workflow on any iterationTrue

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 .