cancel
Showing results for 
Search instead for 
Did you mean: 

Overwriting of same Result Data Object by multiple Rules and Rulesets in BRFPlus

Former Member
0 Kudos

Dear All,

We have multiple Rulesets in a function. And under each ruleset, you have multiple rules.
I unserstand that the rulesets are processed according to priority.
And both rules and ruleset have preconditions.

But with multiple rulesets and rules, the low priority ruleset can overwrite the Result data object already set by high priority ruleset.

Please do let me know if I am correct. If yes, then is this behaviour of overwriting of same Result Data Object by Rules and Ruleset is correct and logical in terms if BRF?

Thanks

Nitin

Accepted Solutions (1)

Accepted Solutions (1)

christianlechne
Active Contributor
0 Kudos

Hi Nitin,

all rulesets and rules work on the same global context data object as well as result object.

So rulesets (and rules therein) can overwrite the result values that have been determined in rulestes/rules that have been executed before. That is indeed the way BRF+ works.

You can avoid that situation by introducing preconditions to your rulesets

BR

Christian

Answers (0)