...
Field Name | Field Type | Description | |
---|---|---|---|
Label* Default Value: PipeLoop | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |
Pipeline* Default Value: N/A | String/Expression | Specify the path of the pipeline to execute. | |
Pipeline Parameters | Use this field set to define child pipeline parameters to use for executing the pipeline. | ||
Parameter name Default Value: N/A | String/Suggestion | Specify the name of the parameter. You can select the Pipeline Parameters defined for the Pipeline selected in the Pipeline field. | |
Parameter value Default Value: N/A | String/Expression | Specify the value for thepipeline parameter, which can be an expression based on incoming documents or a constant. If you configure the value as an expression based on the input, then each incoming document or binary data is evaluated against that expression when invoking the pipeline. The result of the expression is JSON-encoded if it is not a string. The child Pipeline then needs to use the When Reuse executions to process documents is enabled, the parameter values cannot change from one invocation to the next. | |
Loop options | Define the iteration configuration. | ||
Stop condition
| String/Expression | Specify the condition to be evaluated during execution that decides whether the execution should stop or continue.
| |
Iteration limit
| Integer/Expression | Specify the maximum limit for the number of iterations to run to avoid infinite loops. | |
Debug iteration outputs
| Checkbox | Select this checkbox to list the documents from each iteration, index and stop condition evaluation for debug purposes. | |
Execution options | Define the child pipeline execution configuration. | ||
Execute on
| Dropdown list | Select the one of the following Snaplex options to specify the target Snaplex for the child Pipeline:
| |
Snaplex path
| String/Expression | Appears when you choose the SNAPLEX_WITH_PATH option. Specify the Snaplex to execute on. | |
Execution label
| String/Expression | Specify the label to display in the Dashboard for the current execution. | |
Snap Execution Default Value: | Dropdown list | Select one of the following three modes in which the Snap executes:
|
Execution flow of the PipeLoop Snap
The Snap follows the following procedure:
Passes input document to the child pipeline.
Executes the child pipeline.
Collects child pipeline output document.
Evaluates the stop condition based on the child pipeline output document.
If the stop condition is false, the Snap checks if the iteration limit is reached.
If the iteration limit is not reached, the Snap passes the output document to input (back to Step 1). The iteration stops if the stop condition is evaluated to true or the iteration limit is reached.
...
Troubleshooting <TBD>
Error | Reason | Resolution |
---|---|---|
Examples
Get Weather
...
Downloads
Info |
---|
|
...