Help files

Exception Block

As mentioned previously, Exception Handling, is used when a Process finds itself in an unexpected situation. It is also known as a Run-Time Error.

The exception handling, can be placed either for an action, or for a group of actions that are contained between the "Begin Exception Block" and "End Exception Block" actions.

Designer_-_Exception_Block_Image_2a.png

As in the single action's exception handling, the "Exception Block" provides users with three responses for when a Process encounters an exception.

First, upon an exception, the Process can be configured to set a value to a variable. This, for example, could be prior to sending an email and the variable could state that the execution failed.

Secondly, in case an exception occurs within the block, another function could be triggered.

Lastly, the "Exception Block" has the option to continue the Process execution, either with the next action, the first action after the block, repeating the action, or even repeating the whole block execution.

In the above example, in case of an exception in any of the actions, the "Exception Function" is going to be triggered.

exception block2.png

Please keep in mind the fact, that in case an action that is contained in an "Exception Block" already has an exception handling rule set and fails, both rules will apply, first the actions' and second the exceptions'.