Directives for error handling in Adobe Workfront Fusion
Access requirements
You must have the following access to use the functionality 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.
Directives for error handling
-
Currently the error handling directives cannot be used outside of an error handling route.
For more information, see Error handler route in the article Error handling in Adobe Workfront Fusion.
-
Workfront Fusion currently does not offer a Throw module that would enable you to easily conditionally generate (throw) errors, though a workaround can be employed to mimic its functionality.
For more information, see Workaround for Throw in the article Throw error handling in Adobe Workfront Fusion.
Break break
When an error is handled by the Break directive, a record is created in the Incomplete executions folder. This record stores the state of the scenario execution, along with data from the prior modules. The record references the module where the error originated and contains information regarding what data was received by the module as input. For each bundle of data that causes the error, a separate record is created.
For more information, see View and resolve incomplete executions in Adobe Workfront Fusion.
Resolve errors resulting from the Break directive
You can resolve the error manually by updating the scenario (if needed) and running it once.
You can also configure the scenario to automatically process an incomplete execution by re-executing the scenario. To configure the module to process incomplete executions:
-
Inside the Break module, enable the Automatically complete execution option.
-
In the Number of attempts field, enter or map the maximum number of attemps that you want the module to retry the execution
This number must be between 1 and 100.
-
In the Interval between attempts field, enter or map the number of minutes between each retry attempt.
With this option enabled, when an error takes place, the incomplete execution is retrieved (after the time specified in the Interval between attempts field) and executed with the original input data. This will repeat until the execution of the module completes without an error or until the Number of attempts specified is reached.
When “Automatically complete execution” is turned on, the scenario run is marked as “Success” because the Break error handler’s auto-retry is handling the issue automatically. In this case, users do not receive an email about the failed run.
When “Automatically complete execution” is turned off, the run is marked as “Warning”.
There are some exceptions to executions being stored under Incomplete Executions, and with some error types, the auto-retry of a scenario execution is not possible.
For more information, see Allow storing incomplete executions in the article The scenario settings panel in Adobe Workfront Fusion.
For additional information, see Advanced error handling in Adobe Workfront Fusion.