# Rules and events

A rule is associated with one or more specific items on a form. When a user submits new or updated data in an item that has a rule attached, and data is present in the additional data items to which the rule refers, the rule runs.

Each rule can be associated with an event that runs based on the outcome of the rule:

- The event can generate a new query or close an answered query.
- The event can run one or more execution plans that:
  - Send e-mail.
  - Send an entry to the Windows log file.

Copyright © 2013 Oracle and/or its affiliates. All rights reserved.