Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
What is the order of Conditions Execution in Rule?
Environment:
===========
TIBCO BusinessEvents 3.x
All Operating Systems
Resolution:
========
Using a rule’s dependency set, BusinessEvents evaluates the following kinds of rule conditions in the order shown.
1). Filters - conditions that only involve one scope element (object).
2). Equivalent join conditions - conditions that compare two expressions using == or != where each expression involves one (different) object from the scope.
3). Non-equivalent join conditions - conditions involving two or more scope elements other than equivalent joins.Class filters are the least expensive operations in terms of processing cost and non-equivalent joins are the most expensive. To optimize performance ensure that as much filtering as possible is done first to reduce the number of objects for which an expensive condition must be evaluated.