matchVariable


Matches a built-in variable, or a custom variable pre-declared within the rule tree by the set‚ÄčVariable behavior. See Support for variables for more information on this feature.

OptionTypeDescriptionRequires
variable‚ÄčNamestring (variable name)

The name of the variable to match.

{"displayType":"string","tag":"input","type":"text"}
match‚ÄčOperatorenum

The type of match, based on which you use different options to specify the match criteria.

{"displayType":"enum","options":["IS","IS_NOT","IS_ONE_OF","IS_NOT_ONE_OF","IS_EMPTY","IS_NOT_EMPTY","IS_BETWEEN","IS_NOT_BETWEEN","IS_GREATER_THAN","IS_GREATER_THAN_OR_EQUAL_TO","IS_LESS_THAN","IS_LESS_THAN_OR_EQUAL_TO"],"tag":"select"}
IS

Matches the variable‚ÄčExpression string.

IS_‚ÄčNOT

Does not match the variable‚ÄčExpression string.

IS_‚ÄčONE_‚ÄčOF

Matches any of an array of string variable‚ÄčValues.

IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF

Does not match any of an array of string variable‚ÄčValues.

IS_‚ÄčEMPTY

Matches if a defined variable does not contain a value. You can't activate a rule that matches an undefined variable.

IS_‚ÄčNOT_‚ÄčEMPTY

Matches if a defined variable contains a value. You can't activate a rule that matches an undefined variable.

IS_‚ÄčBETWEEN

Is between the numeric lower‚ÄčBound and upper‚ÄčBound values.

IS_‚ÄčNOT_‚ÄčBETWEEN

Is outside the numeric lower‚ÄčBound and upper‚ÄčBound range.

IS_‚ÄčGREATER_‚ÄčTHAN

Is greater than the variable‚ÄčExpression string-formatted number.

IS_‚ÄčGREATER_‚ÄčTHAN_‚ÄčOR_‚ÄčEQUAL_‚ÄčTO

Is greater than or equal to the variable‚ÄčExpression string-formatted number.

IS_‚ÄčLESS_‚ÄčTHAN

Is less than the variable‚ÄčExpression string-formatted number.

IS_‚ÄčLESS_‚ÄčTHAN_‚ÄčOR_‚ÄčEQUAL_‚ÄčTO

Is less than or equal to the variable‚ÄčExpression string-formatted number.

variable‚ÄčValuesstring array

Specifies an array of matching strings.

match‚ÄčOperator is either: IS_‚ÄčONE_‚ÄčOF, IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}
variable‚ÄčExpressionstring (allows¬†variables)

Specifies a single matching string.

match‚ÄčOperator is either: IS, IS_‚ÄčNOT, IS_‚ÄčGREATER_‚ÄčTHAN, IS_‚ÄčGREATER_‚ÄčTHAN_‚ÄčOR_‚ÄčEQUAL_‚ÄčTO, IS_‚ÄčLESS_‚ÄčTHAN, IS_‚ÄčLESS_‚ÄčTHAN_‚ÄčOR_‚ÄčEQUAL_‚ÄčTO
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS","IS_NOT","IS_GREATER_THAN","IS_GREATER_THAN_OR_EQUAL_TO","IS_LESS_THAN","IS_LESS_THAN_OR_EQUAL_TO"]}}
lower‚ÄčBoundstring

Specifies the range's numeric minimum value.

match‚ÄčOperator is either: IS_‚ÄčBETWEEN, IS_‚ÄčNOT_‚ÄčBETWEEN
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_BETWEEN","IS_NOT_BETWEEN"]}}
upper‚ÄčBoundstring

Specifies the range's numeric maximum value.

match‚ÄčOperator is either: IS_‚ÄčBETWEEN, IS_‚ÄčNOT_‚ÄčBETWEEN
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_BETWEEN","IS_NOT_BETWEEN"]}}
match‚ÄčWildcardboolean

When matching string expressions, enabling this matches wildcard metacharacters such as * and ?.

match‚ÄčOperator is either: IS, IS_‚ÄčNOT, IS_‚ÄčONE_‚ÄčOF, IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS","IS_NOT","IS_ONE_OF","IS_NOT_ONE_OF"]}}
match‚ÄčCase‚ÄčSensitiveboolean

When matching string expressions, enabling this performs a case-sensitive match.

match‚ÄčOperator is either: IS, IS_‚ÄčNOT, IS_‚ÄčONE_‚ÄčOF, IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS","IS_NOT","IS_ONE_OF","IS_NOT_ONE_OF"]}}