The Before User Edit trigger is a Client Trigger that fires after the form is loaded but before the user can interact with it. This trigger is functionally similar to the Before Record Load server trigger but is capable of updating fields on existing records, unlike the said server trigger.
Use this trigger to make changes to the record form before the user can edit any field.
If an error occurs during this trigger, a pop-up message might show up describing the error. But, you can still interact with the form like normal.
This trigger is valid for the following workflow actions:
Sample Usage Scenario:
Show a pop-up reminder before the user edits a Sales Order.
Workflow Setup for the above Scenario:
ℹ️ Some points to consider when using the Before User Edit trigger:
- This trigger fires again when the browser is refreshed/reloaded.
- Some form elements cannot be controlled in this trigger like changing the display type of inline fields and adding/removing buttons.
Let us know what you think about this topic by leaving a comment or using the reaction buttons below.
-Jack