RepeaterRoutingRule - addToRoutingRuleConditions
RepeaterRoutingRule - addToRoutingRuleConditions
Description :
This command adds a condition to an existing routing rule.
All Available operator strings are listed below:
- equals
- does not equal
- starts with
- does not start with
- ends with
- does not end with
- contains
- is substring of
- does not contain
- is not substring of
- is one of
- is not one of
- matches
- does not match
- equals (case sensitive)
- does not equal (case sensitive)
- starts with (case sensitive)
- does not start with (case sensitive)
- ends with (case sensitive)
- does not end with (case sensitive)
- contains (case sensitive)
- is substring of (case sensitive)
- does not contain (case sensitive)
- is not substring of (case sensitive)
Note : For operator "is one of" specify the list of values as [value1,value2, . . .,valueN]. Property values for all other operators are self explanatory.
For more information about formatting the RHS property value for the various types of LHS properties and operators, see Formats for specifying property values in conditions in the BMC Server Automation online documentation.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
name | String | Name of the repeater routing rule. |
naryOperator | String | "AND" or "OR" this condition with existing conditions. |
propName | String | Property name to be used in the rule condition. |
operator | String | Operator string to be used in the rule condition. |
propValue | String | Property value to be used in the rule condition. |
Example
The following example adds a condition to a repeater routing rule for "TARGET.NAME" "starts with" "lin". To prevent the asterisk * from being interpreted as a wildcard, enclose it between double quotes.
Script