- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 12:38 PM
Given a variable, how I can find in which business rule or client script is used ?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 06:39 PM
If your talking about variables you probably won't find any references to these in business rules, as they are only really used in Catalog UI and Client Scripts.
I would recommend one or both of the approaches below
Global Search
I would recommend setting up a global search for customizations. I included the following tables:
Type in the field name into the global search and you'll find pretty much every reference!
Administering Global Text Search - ServiceNow Wiki
Field Watcher
If you are talking about fields, an effective way to find all customization in regard to that field you may find Field Watcher useful.
- Navigate to the form for which you want to view field-level debugging information.
- Activate Field Watcher by right-clicking any field label on a form and select Watch - '<field name>'.
- The debug icon
appears next to the field label. From this point on, the Field Watcher records every action taken on the selected field. For example, if you are watching a Priority field, if the priority is changed from Moderate to Low and the the record is updated, the Field Watcher will display information about that change.
- The debug icon
- View the Field Watcher log by clicking the debug icon.
- A new pane opens at the bottom of the screen, showing a Field Watcher tab. It may also show tabs for JavaScript Logging and JavaScript Debugger.
- Click the Field Watcher tab, if needed.
- Stop watching a field by right-clicking the field and selecting Unwatch - <field name>. To watch another field, right-click that field and select Watch - <field name>.
- Clear the Field Watcher log by clicking the clear log button
.
- Resize the Field Watcher pane by dragging the splitter bar up or down. Dragging the splitter bar to the bottom of the screen closes the Field Watcher pane. Reopen the pane by clicking the debug icon
again.
Field Watcher - ServiceNow Wiki
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 06:39 PM
If your talking about variables you probably won't find any references to these in business rules, as they are only really used in Catalog UI and Client Scripts.
I would recommend one or both of the approaches below
Global Search
I would recommend setting up a global search for customizations. I included the following tables:
Type in the field name into the global search and you'll find pretty much every reference!
Administering Global Text Search - ServiceNow Wiki
Field Watcher
If you are talking about fields, an effective way to find all customization in regard to that field you may find Field Watcher useful.
- Navigate to the form for which you want to view field-level debugging information.
- Activate Field Watcher by right-clicking any field label on a form and select Watch - '<field name>'.
- The debug icon
appears next to the field label. From this point on, the Field Watcher records every action taken on the selected field. For example, if you are watching a Priority field, if the priority is changed from Moderate to Low and the the record is updated, the Field Watcher will display information about that change.
- The debug icon
- View the Field Watcher log by clicking the debug icon.
- A new pane opens at the bottom of the screen, showing a Field Watcher tab. It may also show tabs for JavaScript Logging and JavaScript Debugger.
- Click the Field Watcher tab, if needed.
- Stop watching a field by right-clicking the field and selecting Unwatch - <field name>. To watch another field, right-click that field and select Watch - <field name>.
- Clear the Field Watcher log by clicking the clear log button
.
- Resize the Field Watcher pane by dragging the splitter bar up or down. Dragging the splitter bar to the bottom of the screen closes the Field Watcher pane. Reopen the pane by clicking the debug icon
again.
Field Watcher - ServiceNow Wiki
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022