Skip to content

Control Flow - TryCatch#

The Try Catch task will intercept all exceptions in the workflow and allow for fallback actions to be executed.

controlflow_trycatch

Info

Only available for Control Flow.

Inputs#

Name Data Type Description
errorObject Any Object that wraps the error.

Outputs#

Name Data Type Description
Success Boolean If there was no problem emits a true
Error Error Error that occurred during the processing of this task

Settings#

On the General Tab, you have the usual settings and the following settings:

Name Data Type Default Description
Error Text String Description of the error.

Behavior#

The Try Catch task allow the user to define a set of control flow logic that will run whenever an unhappy path is reached. This is very helpful to be able to notify the user whenever something unexpected happens in the system. This task can intercept all exceptions, including the exceptions from the Throw task.

Remarks#

There is no particular remark to be made.