The After Record Submit trigger is a Server Trigger that fires after saving the record and committing the submitted data to the NetSuite Database. If any actions that alter data are processed under this trigger, the alterations will be applied and committed subsequently after the submitted data.
Use this trigger in cases where the record needs to be saved successfully first before performing further actions.
If an error occurs during this trigger, the submitted data will still be committed to the database. But some data alterations made by actions under this trigger before the error might be rolled back. Then, an error page will be displayed. Subsequent actions under this trigger after the error occurred will not be processed.
This trigger is valid for the following workflow actions:
✅ This trigger is can be also set for Workflow Initiation Timing and Workflow Transition Timing.
Sample Usage Scenario:
Send a notification email to the approver after the creation of a new Journal Entry.
Workflow Action Setup for the above Scenario:
ℹ️ A point to consider when using the After Record Submit trigger:
- Refer to this table for the comparison in behavior between this trigger and Before Record Submit.
Let us know what you think about this topic by leaving a comment or using the reaction buttons below.
-Jack