Conditions
A condition is a logical expression resulting in a value of true or false. If a condition is false, it can prevent an associated business rule component or other object from running.
The following is the syntax for defining a condition. Some types of conditions can be included in any kind of business rule component, while others are limited to a specific kind of business rule component.
Important! Content in a business rule is case sensitive. This includes business rule component names, attributes, and values.
About the syntax documentation
Vertical bars indicate that you must choose one of the options shown. Italicized items can be named or specified by you.
<Type_of_condition>
</Type_of_condition>
Types of Conditions
The following are types of conditions.
Condition for any business rule component
executionCondition
A condition that can limit whether a business rule component can run. You can define an execution condition for any type of business rule component.
true
|
The business rule component may run.
|
false
|
The business rule component does not run.
|
Condition for conditional business rule components
condition
A condition that can limit whether a conditional business rule component can run.
true
|
The conditional business rule component may run.
|
false
|
The conditional business rule component does not run.
|
For more information, see conditional Business Rule Component.
Conditions for dataService business rule components
stopRowProcessingCondition
A condition in a dataService business rule component that can prevent further database rows from being processed by the business rule component.
true
|
No further rows are processed by the dataService business rule component.
|
false
|
The dataService business rule component may continue to run.
|
skipCurrentRowCondition
A condition in a dataService business rule component that allows you to avoid processing a row. Processing continues with the next row.
true
|
The current row is not processed by the dataService business rule component. Processing continues with the next row.
|
false
|
The dataService business rule component may process the current row.
|
For more information, see dataService Business Rule Component.
Conditions for whileLoop business rule components
beforeCondition
A condition in a whileLoop business rule component that is evaluated for each iteration of the loop before child business rule components are run.
true
|
In a whileLoop business rule component, loopEvents occur, children are evaluated, and then the afterCondition is evaluated.
|
false
|
In a whileLoop business rule component, loopEvents do not occur, children are evaluated, the afterCondition is not evaluated, and no further iterations of the loop occur.
|
afterCondition
A condition in a whileLoop business rule component that is evaluated for each iteration of the loop after child business rule components are run.
true
|
In a whileLoop business rule component, if the number of iterations has not exceeded maxIterations, then a new iteration begins and the beforeCondition (if one exists) is evaluated again.
|
false
|
In a whileLoop business rule component, no further iterations of the loop occur.
|
For more information, see whileLoop Business Rule Component.
Tip: For assistance with a business rule that you have created or to have Loftware create business rules for you, contact Loftware's Professional Services Group.