The database server tracks several kinds of system events. Event handlers are triggered when the system event is checked by the database server, and satisfies a provided trigger condition.
See”Understanding system events” in SQL Anywhere Server - SQL Usage.
See also “Choosing a system event”, and “Defining trigger conditions for events”.