- Property Manager name: Variable
- Criteria version: The
latestrule format supports thematchVariablecriteria v1.2. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latestrule format
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.
| Option | Type | Description | Requires | |
|---|---|---|---|---|
variableāName | string (variable name) | The name of the variable to match. | {"displayType":"string","tag":"input","type":"text"} | |
matchāOperator | enum | 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 | |||
IS_āNOT | Does not match the | |||
IS_āONE_āOF | Matches any of an array of string | |||
IS_āNOT_āONE_āOF | Does not match any of an array of string | |||
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 | |||
IS_āNOT_āBETWEEN | Is outside the numeric | |||
IS_āGREATER_āTHAN | Is greater than the | |||
IS_āGREATER_āTHAN_āOR_āEQUAL_āTO | Is greater than or equal to the | |||
IS_āLESS_āTHAN | Is less than the | |||
IS_āLESS_āTHAN_āOR_āEQUAL_āTO | Is less than or equal to the | |||
variableāValues | string 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āExpression | string (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āBound | string | 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āBound | string | 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āWildcard | boolean | When matching string expressions, enabling this allows wildcards, where | 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āSensitive | boolean | 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"]}} |
