Automate tasks with Platform triggers

Triggers give you a powerful way for you to automate tasks. They automatically make input, output, update, validations, emails, and Web Services calls in response to data changes. Anytime you have a regular event related to changing object records, you can add the event to your application in the form of a trigger.

For example, in a commissions application, you might have a trigger that posts to the General Ledger when a commission is added. Alternatively, you could have a trigger that updates a related object based on changes to the object in scope. You can also use triggers to create complex validations on data entry fields and return custom error messages to the user.

Events impact the objects that are directly invoked. To retain data integrity and support audit and compliance requirements, Triggers based on Sage Intacct processes are not supported. For example, do not create a trigger for a GL entry that's based on an Intacct process to create an AP invoice.

The Platform trigger infrastructure works on both standard and custom objects. Configuration objects cannot include triggers. Developers can place triggers before and after creating, updating, and deleting an object.