Hi All,
In horse Racing, I have Automation Rules for each race distance and within each rule, I have several sub rules for different scenarios.
Sometimes, more than one of these sub rules will trigger during a race.
However, I would like to cancel all sub rules once one of these rules is triggered.
I have set each sub rule to trigger once, so each sub rule will only trigger once. But, one of the other rules within the overall rule may trigger subsequently and I want to be able to stop that from happening.
Can someone advise or direct me to another thread where this has been explained?
Liam.
Cancel all sub rules when one is triggered
The easiest way would be with signals
So for your first main rule set a signal on market named (call it the race distance for ease of memory)
Then on all its subrules add a signal set condition
Is the signal named (whatever you called it)
set with a value
Then do the same for the next main rule give it a new name and add conditions to all its sub rules
That way only the set of sub-rules relating to a main one can trigger, even if you have identical subrules for a few different race distances only one set will have the signal set from its main rule
So for your first main rule set a signal on market named (call it the race distance for ease of memory)
Then on all its subrules add a signal set condition
Is the signal named (whatever you called it)
set with a value
Then do the same for the next main rule give it a new name and add conditions to all its sub rules
That way only the set of sub-rules relating to a main one can trigger, even if you have identical subrules for a few different race distances only one set will have the signal set from its main rule