Business rule execution is completely arbitrary and random, so you have no way to force certain rules to execute in order.
There is a work around though if you add an attribute to act as a flag, e.g. BO.StepFlag. Can either be a numeric or a text attribute with options.
eg StepFlag
Code: Select all
Choice Value
Start S
Step1 done 1
Step2 done 2
Complete. C
Code: Select all
IF BO IS NEW THEN BO.StepFlag='S'
Code: Select all
IF BO.StepFlag WAS CHANGED TO 'S' THEN DO SOME THINGS
BO.StepFlag='1'
Code: Select all
IF BO.StepFlag WAS CHANGED TO '1' THEN DO SOME MORE THINGS
BO.StepFlag='2'
Code: Select all
IF BO.StepFlag WAS CHANGED TO '2' THEN DO THE LAST THINGS
BO.StepFlag='C'