Allows you to add and edit a state variable update operation.
For more information about accessing the State variables from a
script, see State
Object. The fields are defined as follows:
Operation
Specifies the type of operation to perform.
Number of occurrences
Specifies the number of state variables to store. This field is
only available with the Store the last N occurrences
operation.
State variable name
Specifies the state variable name to update. This field is not
available with the Store the last N occurrences
operation.
State variable root
Specifies the root variable name by which to store the
occurrences of variables. This field is only available with the
Store the last N occurrences operation. When storing the
last N occurrences of a variable, Microsoft Operations
Manager 2000 (MOM) creates several variables stored with the
state variable root. You can access these variable from a script
through the State object. MOM creates the following variables with
the state variable root:
State_Variable_Root.size
Specifies the number of occurrences stored. This value is equal
to the value specified in the Number of occurrences
field.
State_Variable_Root.first
Specifies which State_Variable_Root.N variable
contains the earliest occurrence of the variable. If
State_Variable_Root.first equals 4, then the earliest
occurrence of the variable is stored in
State_Variable_Root.4.
State_Variable_Root.last
Specifies which State_Variable_Root.N variable
contains the latest occurrence of the variable. If
State_Variable_Root.last equals 2, then the latest
occurrence of the variable is stored in
State_Variable_Root.2.
State_Variable_Root.N
Specifies each of the occurrences of the variable. N can
be 1 to the value specified in the Number of
occurrences field. The occurrences cycle through the N
variables overwriting the oldest occurrence. Use the
.first and .last variables to keep track
of the order of occurrences.
Property
Specifies the event or alert property to which to set the state
variable. This field is only available with the Set variable value
to property or Store the last N occurrences operation.
Text
Specifies the text to which to set the state variable. This
field is only available with the Set variable value to text
operation. You can specify the $State Variable$
variable in the Text field. The $State
Variable$ variable represents the value of the variable
before the state variable update operation is performed.
Number
Specifies the number to which to set the state variable. This
field is only available with the Set variable value to
number operation.