Building the rule list

Each of the flattened notifications is tested against a list of rules. See Rule format and matching for the format of the rules.

For each notification, the list of rules is created by merging lists of rules from the rules folder. The rules are:

  • Rules for the individual recipient
  • Rules for each user group which contains the recipient
  • Global rules

The rules are held in a folder located using the "notificationRules" binding. Each list of rules is retrieved using a local reference based on the individual's user logon reference, the user group reference, and then the local reference "default" for the global rules. The user and user group local references are converted to local references using Local Reference Script.

The notification manager uses the underlying user groups rather than creating its own user grouping mechanism.

The rules are sorted by priority. Rules with the same priority retain their sequence. Lower priorities are applied first. The defaults priorities for individual recipients, user groups and global rules are 0, 10 and 100 respectively, which means that individual recipient rules have higher priority than user group rules, and user group rules have higher priority than global rules.