- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 07:14 AM
Hi all,
Can I access information of specific CI in a discovery pattern? I have to create a connection to a CI, but I don't know on which server this CI is running. However, horizontal discovery has already stored this information in the CMDB and therefore it would be great to get this information. Is there a way to get this informations? Host, Ports etc.
Thanks
Thomas
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 05:40 AM
If you know in CMDB table data is located, then try to use the HTTP Get Call operation step to extract data on CI types with using the CMDB instance APIs, hope you can retrieve the data you expect.
Reference Product Document:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 09:00 AM
Hi Guys,
This is the way to go if you need cmdb/ci information during topdown discovery.
Using GlideRecord scripting in Service Mapping Pat... - ServiceNow Community

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 08:41 AM - edited 07-19-2023 08:42 AM
- CMDB Relationship table can provide all related like hosted applications and Servers, their relationships
- Are you referring to the application CI? Check the CMDB Running Process table it contains application parameters and listening to and connecting to port and running process hosted computer details
Mark helpful and accept solution, if it works,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 09:14 AM
Thanks but we have already 200 Application Services for different on prem customers which are all build automatically.
I need to find a way to get information of ci classes during the connection section of a pattern. Every installation looks different and therefore the mapping must work for them ootb.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 10:35 AM - edited 07-19-2023 10:36 AM
Do you have the entry points of the application Services? Did you try running the Service Mapping Discovery after updating the entry point? The advantage of Service Mapping is that it will perform the horizontal and top down. Also, you can try enabling traffic based discovery on the Service Map. You can explore the netstat command on the connection section run command pattern step to identify the out going connection from the top node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 03:42 AM
Our smaps already look like this. After Horizontal Discovery the entrypoint gets created and the mapping is also done. 90% of the pattern are own written because our technologie is not known from snow. I already have a lots of experience in Discovery Patterns and there Connections.
We have a scalable system which after mid is installed and discovery is running all follow up process automated and scripted.
But my question is still not answered.
I want to access cmdb data during a discovery pattern and i guess it is unfortunately not possible