Object Script API
The methods described in this section are for use in Object Script triggers and support a range of programmatic data manipulation. Use of Object Script methods requires advanced skills.
Execution context and permissions: Object Script API methods that create, update, or delete records run in the Server API role context, which has all administrator permissions. These methods do not independently enforce the triggering user's object-level permissions. If an operation must be restricted according to a user's permissions, add an explicit authorization check in the trigger formula before calling the method.
Formulas used in Object Script triggers can include other API methods and regular Platform template functionality, such as loops. Object Script methods have no effect if called outside of update triggers.