Return list of application related to server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 01:35 AM
Hello SNC,
I have an requirement where - I need to get the list of application (*FROM : cmdb_ci_service_discovered) from *its table for any server (FROM: cmdb_ci_server).
When I pass thro., script include function of server sys_id, I must get those all application related to that server.
Any road-map, Please?
Many thanks.
- Labels:
-
Data Acquisition

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 12:42 AM
Hi,
It seems a requirement that can be achieved by using CMDB Query Builder. Have you tried this option already? Some info about it: https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/configuration-managemen...
I hope this helps you. Please, mark my reply as helpful in case it was. 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2022 10:20 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2024 11:46 PM
This simple screen shot solved what I was looking for myself.
Thanks for sharing your knowledge!
And thank you @Kingstan M for bringing up the question!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 12:58 AM
You can check out table svc_ci_assoc table where all applications related to a service is listed. You can fetch applications and servers associated with a service from there.
Then you can query the cmdb_rel_ci table to check for all the relationships of that particular servers.
Scripting on these two tables can help you achieving your goal
Below article will help you if you need help in GlideAjax
https://community.servicenow.com/community?id=community_article&sys_id=c77ff0dddbbb8190847d5ac2ca96198a