- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2016 08:34 AM
Hi All,
I'm attempting to set up the ability in ServiceNow for a "System" to auto fill the "Business Service" it's associated with when entered. For example you could type "Kiosks" into the system field and the system will see "Kiosks" is on the downstream relationship for "End User Computer" therefore automatically fills this field.
To explain here is an example
Both fields shown
"System" is lined to the configuration Items table so there are tons of these but I would only need to worry about the ones under a business service.
I've attempted to build this with a business rule already but this only applies the change when the page is updated. I'd like it to do this automatically whilst entering the data.
Any help would be great, thanks!
Solved! Go to Solution.
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2016 08:38 AM
You need to write an onChnage client script and use GlideAjax to call the script include and return the sys_id of the business service. Let me know if you need any help in scripting.
http://wiki.servicenow.com/index.php?title=GlideAjax

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2016 08:57 AM
I don't think there is a way without scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2016 11:44 PM
Hi davidwood, do you have any follow up questions? Do you believe we can close this thread by marking the responses as helpful or correct?
Thanks,
Berny