runs scripts in response to some events as defined by Rules specification. Events are always associated with a record from a table and a user action that actually triggered this event. Here is a list of possible events and the order of the resulting actions:
Record created/removed/modified through the GUIuser record: a record that has been created/removed/modified and matched our filter.
user action: user record creation/removal/modification.
The order of operations is:
The validity of changes made by the user is checked based on group permissions.
Note: This is an important security feature. Although only sends to the browser the fields that the user is permitted to see and only displays the fields for which the user has edit permissions, a hacker might construct their own http stream by hand in an attempt to circumvent this protection. If any of the changes are invalid, the record update is cancelled and an error message is displayed.
Summary based: number of user records matching given filter [operator][threshold], where operator is one of <, >, <=, >=, = and threshold is a number.
user record: all records meeting the filter. User can tell to run actions either for all matching records, or only for one of them (see rule settings).
user action: user record creation/removal/modification after which number of matching records exceeded the threshold.
Timer based: periodically executed summary, number of records matching the filter>0.
user record: the same as in summary based.
user action: undefined.
Related articles |