Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

introduce "wait then" behaviour between rules to avoid race conditions


Community Advisor


Description -

At the moment rules are triggered in a sequence determined by the rule order number.  However, each rule executes asynchronously meaning that rules with a higher priority may finish after rules with a lower priority.   This can cause issues where there is a dependency between rules. 


Why is this feature important to you -

We are experiencing issues where there are dependencies between rules.  They are hard to spot because the are intermittent and are difficult to resolve due the the asynchronous execution. 


How would you like the feature to work -

I would like to be able to force rules set to different order numbers to wait for other rules. This would be similar to the "wait then" behaviour of actions within a rule.




Level 2


Upvote for this option!


I'm having to add an additional final action to those specific rules, using custom code to fire an event via 'dispatchEvent' method and configuring the subsequent rule to listen to this via the 'Custom Event' event type.  Not ideal!