Functional Restrictions in Trigger Scripts
This section documents functional restrictions of which you should be aware when writing custom Groovy script in triggers.
- 
                
Before Commit in Database Trigger
Your trigger should not set the value of any fields in this trigger. The changes are too late to be included in the current transaction.
 - 
                
After Commit in Database Trigger
Your trigger should not set the value of any fields in this trigger. The changes are too late to be included in the current transaction.
 - 
                
Before Rollback in Database Trigger
Your trigger should not set the value of any fields in this trigger. The changes are too late to be included in the current transaction.
 - 
                
After Rollback in Database Trigger
Your trigger should not set the value of any fields in this trigger. The changes are too late to be included in the current transaction.