A LANSA trigger function is a special type of LANSA function, which is invoked automatically when a specific type of I/O operation occurs on a table and when a specific set of conditions are met.
There are two building block application templates available, designed to form the base of a trigger function: one for field-based triggers, and one for table-based triggers.
A trigger should encapsulate all the trigger rules for a particular field or table, (depending upon whether the trigger is linked at field level or table level).
For details about trigger functions, refer to Trigger Functions in the Technical Reference Guide.