The After Field Edit trigger is a Client Trigger that fires after changes to the selected Triggering Client Fields are committed and the focus has switched to another form object.
Use this trigger to perform actions depending on the value assigned by the user in the triggering client fields.
If an error occurs during this trigger, a pop-up message will show up that describes the error. But, the focus will not be restricted and other form objects can be selected freely.
This trigger is valid for the following workflow actions:
Sample Usage Scenario:
Auto-populate the Location field on Sales Order with the value of the Custom Location Field of the selected Customer.
Workflow Action Setup for the above Scenario:
ℹ️ Some points to consider when working with After Field Edit Trigger:
- There is an odd behavior associated with this trigger where the focus goes back and forth between form objects that the user interacts with. This is usually caused by an invalid Formula Condition set for actions using this trigger.
- Actions on an After Field Edit trigger can also occur in response to an action on a Before Record Load trigger. For example, an After Field Edit action is set to execute whenever a field changes, and an action on a Before Record Load trigger changes the value of that field. The After Field Edit action executes in response to the field change.
Let us know what you think about this topic by leaving a comment or using the reaction buttons below.
-Jack