Variables in Rule Processor application fields
The only exception to these two rules is for the Action: Set Variable action specification panel. On this panel, you do not need to use the special characters for either simple or compound variables because any value entered in this field is treated as a variable.
Setting variables
The action specification panel Action: Set Variable (see following figure) can be used for all Rule event types and on the panel, you can perform the following actions:
- Set one or more variables
Increase or decrease a variable’s numerical value
To increase or decrease the numerical value, specify +n or -n, where n is a number.
- Use variable substringing
BMC Software -------- Action: Set Variables - MSG -------------- BMC AMI OpsA
COMMAND ===> TGT --- AOAO
Rule-set === RULIMS00 Rule-id === AUTHIMS1
Variable-Name Variable-Value(functions/equations allowed)
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
Press END to return to AV with changes or CANCEL to cancel changes
COMMAND ===> TGT --- AOAO
Rule-set === RULIMS00 Rule-id === AUTHIMS1
Variable-Name Variable-Value(functions/equations allowed)
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
Press END to return to AV with changes or CANCEL to cancel changes
To set simple variables, enter the variable name in the first field and the value in the second field.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*