Author Topic: Order of Operations for Rule Actions  (Read 811 times)


  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Order of Operations for Rule Actions
« on: April 19, 2010, 10:50:27 am »
If a rule has 10 actions, and the whenever is tripped multiple times, what is the sequence of operations?

- Does it execute all 10 actions first, then repeat.
- Does it execute actions in a more "random" order?  For example, actions 1-3 are executed but the second whenever is tripped, leading to action 1 execute followed by action 4 from the first whenever trip?

John Hughes

  • Administrator
  • Hero Member
  • *****
  • Posts: 2852
    • View Profile
    • Codecore Technologies
Re: Order of Operations for Rule Actions
« Reply #1 on: April 19, 2010, 01:07:45 pm »
Rules run as soon the event is triggered and the whenever filter criteria matches, so more than one rule can be executing at any given time. The same rule can also be running concurrently with itself multiple times. It just depends on when the rule is triggered and how long it takes to execute.

The documentation has been updated to make this more clear.
« Last Edit: April 19, 2010, 01:12:01 pm by John Hughes »
John Hughes
Codecore Technologies