You can compare dataslots by accessing a dataslot’s value in a condition statement. For instance, if you have two dataslots (of type CHARACTER) such as TotalNumber and CurrentNumber, then you can express a condition as: CurrentNumber<TotalNumber.
You can also make different combinations using the AND and OR operators. You should not use parentheses. The expression evaluates from left to right. For instance, you can have: CurrentNumber>MinimumNumber AND CurrentNumber<TotalNumber.