Abort
Description
Abort is a step in the Flow Plugin for Process Studio Workflows. This step can be used to abort a workflow, if the number of rows going to the error hop crosses a threshold and write the Abort message to the log. Abort is designed to work with parent child hierarchy.
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
Options | ||
2 | Select one of these radio buttons… | - Abort the running workflow: In parent-child workflows Abort step configured with Abort the running workflow option is recommended in the child workflow, when the parent wants to allow a specific number of rows f rom the child (with Abort step in the child workflow). In case Abort is used in the parent workflow, if the threshold value exceeds, it neither executes the workflow successfully nor throws any error. - Abort and log as an error: In a workflow if the number of rows reaching the Abort step exceeds the threshold row value, the workflow fails and logs the error message provided in the message box. Stop input processing: In a workflow if the number of rows reaching the Abort step exceeds the threshold value, it stops the input rows processing as soon as the Abort step receives number of records equal to the threshold value. |
3 | Abort threshold | Specify the threshold of number of rows after which to abort the workflows. E.g. If threshold is 0, the abort step will abort after seeing the first row. If threshold is 5, the abort step will abort after seeing the sixth row. |
Logging | ||
4 | Abort message | Specify the message to put in the log upon aborting. If not filled in no message will be logged. Abort message is applicable only if Abort and log as an error radio button option is selected above. |
5 | Always log | Enable Always log checkbox to always log the rows processed by the Abort step even if log level is below current log level. This allows the rows to be logged although the log level of the workflow would normally not do it. This way you can always see in the log which rows caused the workflow to abort. |