Search for Use
Check which other objects reference a particular object before you modify, transport, export or import, delete or otherwise handle that object. Use the Search for Use function to check for references. Right-click an object anywhere in the Automic Web Interface to open this function and display a list of other objects that use the object. This option is available in all lists that contain objects, and from combo boxes and the global search dropdown list.
The following restrictions apply to the Search for Use function.
Scripts
In scripts this function is deactivated by default. Administrator users can activate it in the UC_CLIENT_SETTINGS variable (see UC_CLIENT_SETTINGS - Various Client Settings) using the SEARCH_SCRIPT_FOR_USAGE key. Two methods are available:
-
The searched string must be somewhere in the script as otherwise it cannot be displayed.
Example: The search for MM lists results in which it is included as a whole or partially.
- MM
- MM.CLOSING
- MM.DAY
-
The searched string is handled as a word which is enclosed in delimiters such as blanks, left and right parentheses, equals (=), comma, single quotations, double quotations, end of lines and script ends.
Note: Underscores are not delimiters. Searching for MM in _MM_ does not return a result.
Example: The search for MM lists results in which it is enclosed in the described delimiters:
- (MMI)
- =MM=
- 'MMI'
- (MM,
- =MM at the end of a line
Calendar Events in Scripts
When searching for Calendar Events in scripts, the result only includes lines that contain both the Calendar Event and the name of the Calendar object.
The search function does not find Calendar and Calendar Event usages if the settings of recurring tasks are concerned. See Executing Objects - Recurring.
Example:
The Calendar object ON_CALL_DUTY has two calendar events, MONDAY_TO_FRIDAY and WORKDAYS. The latter one is a group Calendar Event that contains the Calendar Event MONDAY_TO_FRIDAY. The result of searching the use of MONDAY_TO_FRIDAY does not include the calendar event WORKDAYS because it is stored in the same Calendar object.
The search function does not find Agent usages if the filter specifications refer to Agent Groups (HOSTG).
The search for use function also includes fields that include an object but have been deactivated and are grayed out.
The object type is not considered if the wildcards "?" and "*" are included in your search for object names.
See also: