When errors occur during the execution of a scenario, it’s usually because a service is unavailable due to a failure, a service responds with unexpected data, or the validation of input data fails.
If a module throws an error during the scenario execution and there is no error handling route attached to the module, the default error handling logic executes, as described in Error processing in Adobe Workfront Fusion.
By adding an error handler route to a module, you can replace the default error handling logic with your own. Adobe Workfront Fusion offers five different directives that can be inserted at the end of your error handler routes.
For more information, see Directives for error handling in Adobe Workfront Fusion.
You must have the following access to use the functionality in this article:
|Adobe Workfront plan*||
Pro or higher
|Adobe Workfront license*||
|Adobe Workfront Fusion license**||
Workfront Fusion for Work Automation and Integration
Workfront Fusion for Work Automation
|Product||Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article.|
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
To add an error handler route to a module:
Right click the module and select Add error handler:
The module shows a list of Directives as well as the apps being used in your scenario.
If the module that you added an error handler to is the last module in your route, select one of the directives.
Add one or more modules to the error handler route.
If you add more modules to the route, the Ignore directive is applied by default, and, in the event of an error, the subsequent modules on that route are processed.
In this example, if an error occurs while executing the Create a folder module, the Ignore directive will be applied automatically and the scenario will move to the next module on the error handler route.
However, if there is no error, the scenario will move to the List all files in a folder module on the regular route.
Note that an error handler route is composed of transparent circles, while a regular route is composed of solid circles.
The directives are briefly explained below. For more information, see Directives for error handling in Adobe Workfront Fusion.
There are a total of five directives which can be grouped into the following categories based on whether a scenario execution should continue or not.
The following directives ensure that a scenario execution continues:
If a scenario execution should stop when an error occurs, use one of the following directives:
For more information on error handling, see: