Conditional Statements
A conditional statement specifies a test that will be used to evaluate a transaction.
Each conditional statement includes the following components:
- First Expression—This expression usually consists of a field name. It may also be a User Defined Variable (UDV), a value, a function or mathematical calculation.
- Comparison Operator—This operator indicates how the first expression relates to the second expression.
- Second Expression—This expression usually consists of a value.
![]() | Note: In conditional statements, both expressions must return the same data type. For example, if the first expression is a string data type, the second expression must also contain a string data type.
|
Make sure the IF statement is less than 4K after compiling it. It is possible for the IF statement's GRL code to be less than 4K and its compiled version to be greater than 4K. If the compiled version is greater than 4K, the rule will generate an error when it is validated or checked in.
- Covered Topics
- Sample Expressions
This section contains sample expressions that use numeric or string expressions. - Comparison Operators
Use comparison operators to indicate the relationship that one item has to another in a conditional statement. - Connecting Multiple Conditions
Rules generally will have more than one condition. These conditions need to be connected. - Incorporating Value Ranges
Value ranges indicate to Falcon that a value on the incoming transaction must be within a range of lower and higher values.