Variable
How does it work?
This criterion lets you match based on a built-in variable, or a custom variable pre-declared within the rule tree by the Set variable behavior.
See Variables overview for more information on this feature.
Operators
You can select the following logical conditions:
is | the variable present in the request matches the one you specified in the text field. |
is not | the variable present in the request is different than the one you specified in the text field. |
is less than | the variable value is less than the provided numeric value. |
is less than or equal to | the variable value is less than or equal to the provided numeric value. |
is greater than | the variable value is greater than the provided numeric value. |
is greater than or equal to | the variable value is greater than or equal to the provided numeric value. |
is one of | the incoming request includes any of the specified values. |
is not one of | the incoming request does not include any of the specified values. |
is between | the variable value is within the provided range. |
is not between | the variable value is not within the provided range. |
is empty | the variable value in the incoming request does not contain any value. You can activate a rule that matches a defined variable only. |
is not empty | the variable value in the incoming request contains a value. You can activate a rule that matches a defined variable only. |
Fields
In the Variable field, from the drop-down list, select the variable you want to match. Ensure you define the variable in the Property Variables section first.
In the Variable Value field, enter the alphanumeric values for the variable you selected.
For a large number of values, you can paste the entries and separate them with a space, comma, or carriage return.
Wildcards
Wildcard | Description | Example |
---|---|---|
* | matches zero or more characters | The rule includes a match where the value is 123*. Some possible valid results are 123 and 123456. |
? | matches a single character | The rule includes a match where the value is 123?. Some possible valid results are 123 and 1234. |
Additional Options
-
Wildcards in value: When enabled, allows * and ? wildcard matches in the value field.
-
Case-sensitive value: If you select this option, the value in the incoming request has to match the case of the entry.
Updated almost 3 years ago