Managing Script Errors - Managing Script Errors - You can use the script errors editor to define errors that can be thrown by a script and handled by the process. Error definitions allow scripts to communicate exceptional conditions, such as validation failures or processing errors, to BPMN error handling events. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/xhn1710503407458 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-16T23:02:28.533499
ft:locale
en-US

You can use the script errors editor to define errors that can be thrown by a script and handled by the process. Error definitions allow scripts to communicate exceptional conditions, such as validation failures or processing errors, to BPMN error handling events.

To add a script error:

  1. Open the script in which you would like to edit errors.
  2. From the Script Properties pane on the right, select Script Errors.

    The Script Errors window is displayed.

  3. Use the + button to add a script error.

    The new error is added to the list on the left and its properties are displayed on the right.

  4. Add a name in the Error name field.
  5. Optional: Add a code in the Error code field.
  6. Once you are done editing, click Save.
The window is closed and you are brought back to the script editor. To edit, add, or remove errors, open the Script Errors dialog box again.