(This post was updated on )
Hi all,
the following case:
if i have around 200 facts to check and 8 rules, but somehow i need to get a direct result from 1 rule and result from other rules can be later, because if the 1st rule fires, it'll return a string which will be then interpreted as an error, and the application should break and give an error report to user,
otherwise need to check other rules which will also return a string for each rule, and interpreted as warning.
Which one would be faster: should I just try to check all 8 rules, and based on the results I just check whether it contains the error string, and if there isn't any, just give back the warning strings (i.e. only call execute once), or should I do it in 2 steps, meaning, execute with just using one rules, and if there isn't any error found/the rule doesn't fire, once more executing with the rest of the rules
Thanks for any hints