Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 Composition of a Rule : Providing Conditional Processing

Providing Conditional Processing
Conditional Processing
If you require conditional processing based on truth value, use:
1.
2.
The values in the condition section are evaluated sequentially for their truth value. An Y/N quadrant is then used to regulate the processing of the specified actions. For more information about conditional processing, refer to Chapter 10, Conditional Processing.
What Comprises a Condition?
A condition is comprised of one of the following that evaluates to a Y/N value. It ends in a semicolon(;).
A table.field reference
Sample Condition Segment and Associated Actions
The following example shows a condition segment containing an expression and the action segment showing the initial actions to take place based on the values determined by the Y/N quadrant:

 
_ ------------------------------------------------------------+--------------
_ JOBTITLE = 'SENIOR ANALYST'; | Y N N
- JOBTITLE = 'ANALYST'; | Y N
_ ------------------------------------------------------------+--------------
_ RATE = 0.1; | 1
- RATE = 0.05; | 1

 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved