Execution priority of email processing rules
6 / 7

Advanced Email Parser has two different models of rule execution. You should consider them if you use more than one rule for email processing.

Pending execution (Default)

In this mode Advanced Email Parser does not wait for the rule execution ending in the whole operating cycle, but puts this rule on a waiting execution list.

You cannot use the Message Actor component in the Pending execution mode, because it requires real-time access to the mailbox.

Use this mode to execute long-term rules (e.g. with HTTP queries) to avoid disconnection from the mailbox by timeout.

Immediate Execution (RealTime Processing enabled)

In this mode Advanced Email Parser waits for execution ending of the rule with the RealTime flag before processing the email by the next rule.

Use this mode for short-term rules and in the Broker Mode.

Execution priority in mixed modes

When using mixed methods of rule execution, at first Advanced Email Parser executes rules with the RealTime flag, according to their order in the constructor. Then it executes rules without the flag.

So the probable rule execution order in the demonstrated example will be:





 Execution order of email processing rules | Contents | How to choose an appropriate AEP behaviour model