End Context operator
Overview
The End Context operator is used to mark the end of the context of a splitter or a remapper. Its use is mandatory.
Input
An End Context block has no explicit input. It can be considered to have a hidden input consisting of the distinct outputs of all iterations of the context.
Block properties
Block properties can be set by editing the block.
A End Switch operator block has these properties:
- Block name
- Component version (read only)
- Block ID (read only)
- Maximum number of split element processing that can fail without propagating the error: no value or value 0 indicates that any error in an iteration of the context can lead to a general workflow error. A different value, integer and positive, indicates the maximum number of iterations that can fail without affecting the outcome of workflow execution.
Even if errors are ignored they are still visible in the verbose output of the workflow. - Maximum percentage of split element processing that can fail without propagating the error: no value or value 0 indicates that any error in an iteration of the context can lead to a general workflow error. A different value, an integer between 1 and 100, indicates the maximum percentage of iterations that can fail without affecting the outcome of workflow execution.
Even if errors are ignored they are still visible in the verbose output of the workflow.
If Maximum number of split element processing that can fail without propagating the error and Maximum percentage of split element processing that can fail without propagating the error are both specified, the more restrictive of the two prevails. For example, if the context is going to loop 500 times, the first parameter is 20 and the second is 10 (10 percent corresponds to 50 iterations), the first parameter is more restrictive, because 20 is lower than 10% of the number of iterations.
Output
The output of an End Context block is a JSON containing an empty object. To "pull out" output data from a context you need to use, after End Context, a reducer or a remapper.