If an event of profile
BP Server::PI_ACTIVATED is received, then try finding in the event cache, an event of profile
BP Server::PI_COMPLETED that comes from the same process instance (same INDEX value). Then test the activation filter. If the condition succeeds, then execute the "
then" clause. Repeat for each possible
PI_COMPLETED event.
If an event of profile
BP Server::PI_COMPLETED is received, then try finding in the event cache, an event of profile
BP Server::PI_ACTIVATED that comes from the same process instance (same INDEX value). Then test the activation filter. If the condition succeeds, then execute the "
then" clause. Repeat for each possible
PI_ACTIVATED event.
You may prevent a rule from triggering on some event variables, when you are sure that the triggering will not succeed on these event variables. In the previous example, we know the rule triggers only by the
PI_COMPLETED event. Do not trigger it when an event of type
PI_ACTIVATED is notified, because no corresponding event
PI_COMPLETED exists yet in the cache. Refer to
Controllingrule execution for more information about control.