How does Business Rule work with priority and same conditions

Answered How does Business Rule work with priority and same conditions

  • Monday, April 16, 2012 5:25 AM
     
     

    I am wondering how the priority works with rules with similar conditions, e.g.

    Rule 1

    Priority:0

    Conditions:(Credit=1 or -1) and (Status=0) and (Tier=30)

    Actions:(Set message="welcome") and (door open=true) and (Credit=1)

    Rule 2

    Priority:10

    Conditions:(Credit=-1) and (Balance>100)

    Actions:(Set code="Open") and (Credit=1)

    What happens the original message matches both rules' conditions? Would rule 1 be applied to message first, then the updated message will be validated by Rule 2? or it will use the original message to validate all the rules?

All Replies