Routing Rules for Mailboxes

You can create routing rules to initiate action automatically when a message is added to a mailbox. Automatic routing ensures that the rule is evaluated at least once.

When a message is added to a mailbox, any rules established for the Mailbox are evaluated automatically. After evaluating automatic routing rules, any business processes that the rules are configured to run start. The rules do not wait for the business processes to complete. After all routing rules run (according to defined schedules), the messages added to any mailbox since the last automatic routing rule evaluation are removed from the “needs to be routed” table. After messages are removed from that table, they are never again eligible for auto routing.

Manual and scheduled evaluation route all messages that meet the pattern of the rule to be evaluated. If a message is in a mailbox and is included in a rules pattern, that message is routed every time the rule is evaluated.

Manual and scheduled evaluation do not provide a guarantee that message will be delivered at least once. Routing usually occurs once, but if a system outage occurs, the routing does not resume at system start. If you restart the system, the business processes that were started may need to be restarted, depending on whether the processes are restartable or resumable.

After the system evaluates a routing rule, the routed messages are guaranteed to be processed by the routing rule business process.