Gets the value of a user-defined custom field of an alert.
ScriptContext.Alert.GetCustomField(FieldNumber Int) ScriptContext.CreateAlert.GetCustomField(FieldNumber Int)
FieldNumber
|
Specifies the number of the user-defined custom field to get.
Possible values for the FieldNumber parameter are
1 , 2 , 3 , 4 , and
5 to get the first through fifth custom fields,
respectively. |
String.
To get the value of the second user-defined custom field of an alert, enter:
Dim MYalert Dim MYcustomfield Set MYalert = ScriptContext.Alert Set MYcustomfield = MYalert.GetCustomField(2)