Creating Event Triggers

A trigger is a condition that causes an event to fire. Triggers can be based on conditions that are created in these cases:

  • By user actions, such as saving and closing a form, changing a record, and so forth
  • Apart from user actions, such as the passage of time or the result of a database calculation

The Event Triggers form is used to set conditions of the second type. For more information, see "About Event Triggers" in the Guide to the Application Event System.

To create an event trigger:

  1. Open the Event Triggers form.
  2. Select Actions > Filter > Cancel in Place.
  3. Select Actions > New.
  4. In the Event Name field, select the event for which you want to define a trigger.
    Note:  You cannot define a trigger for a framework (Core) event.
  5. On the Trigger tab, in the Condition field, specify the condition for which the event is to fire.

    For more information about defining conditions, see "About Event Triggers" in the Guide to the Application Event System.

  6. On the Parameters tab, specify the name and values for any event parameters for which you need to pass values to the event handlers when the event fires.

    For more information about event parameters, see "Framework Events" in the Guide to the Application Event System.

  7. Set other options on this form as desired.

    For more information on other form options see the online help for each field.

  8. Save the form.