Skip to content

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 input.

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

An End Context block doesn't produce any output. To "pull out" output data from a context you need to put a reducer or a remapper after the End Context block.