Triggers are event-condition-action (ECA) rules. When an event occurs, test the condition if the condition is satisfied, execute the action.