If/Then/Else (Control Structures)
If a given condition is true, a specified task(s) will be executed in the “then” block. If the given condition is false, the specified task(s) will be executed in the “else” block. In the example below, different Business Processes will execute based on the result of the initial “If” statement.
For each (Control Structures)
For each item in a list, a specified task is executed. This includes multiple tasks.
Do while (Control Structures)
Executes tasks while a specified condition is true. Tasks are executed before the condition is checked. The specified task is executed before the condition is checked. This means that the specified task is always executed at least one time. Then the condition is checked. If the condition is true, then it executes again (then the condition is checked again). And so on.
While do (Control Structures)
While a specified condition is true, a specified task is executed. The condition is initially checked before the given task is executed. This means that the condition is checked first before the task is performed. If the condition isn't immediately true, then the task is never executed.
Force step failure
This task can be used within a control structure task to force the entire step that it is contained within to fail.
Parameter | Type | Description |
---|---|---|
Message | String | An optional error message to display when the task executes. |
For example, in the Business Process below the Force Step Failure task has been included within a While Do task. If the ReadLocationsFA (File Adapter) is not read for some reason, then the entire step will fail and an error message will appear in the Auditor.
Comments
0 comments
Please sign in to leave a comment.