Error Handling for Scheduled Workflows

When you create an asynchronous workflow task, if an error occurs during the processing of the workflow, NetSuite sends the error details to the owner of the workflow in an email. An error can be a user error or an internal SuiteFlow error. You can use the information in the email message to troubleshoot the workflow.

NetSuite sends an email message for errors that occur with the following types of scheduled workflow tasks:

Note:

NetSuite also sends an email message when an error occurs when a record for a scheduled workflow is loaded or when the record is saved.

The following errors are possible for scheduled workflows:

In the case of any of the listed errors, NetSuite sends an email to the workflow owner to notify of the errors occurrence.

NetSuite sends the email with the workflow name in the subject line and the internal record ID and error message in the body of the email. For example, for an error with a workflow named ‘Expense Approval’ on a record with an ID of 123, the email appears with the following subject and body:

Subject: Workflow Failure: Expense Approval

Body: ID: 123 — End date must be after start date

The number of emails sent by NetSuite depends on the number of errors that occur. NetSuite sends an email for each of the first five errors in a workflow. If more than five errors occur, NetSuite waits until the workflow processing completes and then sends all errors, including the first five, in a single email message.

Related Topics

Viewing Workflow Activity
Active Workflows Subtab
Workflow History Subtab
Workflow Execution Log
Error Handling for Asynchronous Workflow Tasks
Testing and Troubleshooting Workflows

General Notices