Associating Output Variables with Actions
Using output variables, you can incorporate quality results values into the action details of the following alert actions: Send an electronic mail notification, Execute a SQL script, and Execute an operating system script. They can also be used to incorporate quality results values into the action details of Assign a Value actions.
Additional Information: The above listed Alert actions can be defined for both collection elements and collection plan elements, but Assign a Value actions can only be defined for collection plan elements.
For example, you can use an output variable token (e.g. &DIAMETER) to represent numeric diameter values (e.g. 45 inches), so that these values can be included in the details (text) of a Send an electronic mail notification alert action.
Output variables token are defined by entering an ampersand (&) followed by a token name (for example, &ITEM_NUMBER) that represents a results value.
Prerequisites
To associate output variables with actions:
1. From the Actions:Send Electronic Mail, Actions: SQL Script, Actions:Operting System Script, or Assign a Value windows, choose the Variables button. The Output Variables window appears.
Do not enter the ampersand (&). For example if you included an &ITEM_NUMBER output variable token in the Message Text field of the Actions: Send Electronic Mail window, you would enter ITEM_NUMBER as the token name.
3. Select the collection element to associate with the token name.
You can associate token names with any collection element, including common collection plan elements. For example, you can associate the Item collection element with the &ITEM_NUMBER token name as described above.
4. Choose OK to save your work.