You can define a free condition for your rule after selecting the entry define query in the picklist in the condition section of the edit mask of your rule. The following form box will be displayed:

Define a query
Fill in the name of the process field enclosed in parentheses (FIELDNAME) or the name of the form field enclosed in brackets [fieldname] to compare against.
You can use parentheses to group parts of the query and use the logical operators AND or OR (See the following examples).
And if you wish to use Process and system fields for comparison, click the
symbol (See Define rule conditions).
The following logical operators are available:
Logical operator |
Description |
|---|---|
== |
is equal to |
!= or <> |
not equal to |
< |
less than |
<= |
is less than or equal to |
> |
greater than |
>= |
is greater than or equal to |
Please note: The relational operators usable in the query differ to some extent from those listed in chapter Define rule conditions.
Via the checkbox Case sensitive you can control the value comparison procedure.
Please note: When comparing strings in a Define query condition, they must always be masked with double quotes.
Examples:
(textbox1) == "12345" OR (textbox1) == "0815"
((textbox1) == "12345" OR (textbox1) == "0815") AND [checkbox1] != "1"