- 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-21-2023 07:52 AM
Hi @TeeKaypA
Patterns are not meant to access CMDB data and are irrelevant to its purpose.
If you need a connection, you need to develop the connection section of the pattern corresponding to the parent node. Then, create a new pattern that matches the entry point details so that the connection section triggers the new pattern you developed, and the CIs are also created. Map also is updated with your connection.
I hope this helps clear things up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 09:16 AM
Unfortunately it seems like there is no way to access cmdb data during a pattern as this runs on the mid server.

- 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-20-2023 05:48 AM
thanks will try this

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 07:33 AM
Please accept the solution if it works. Let me know if you encounter issues with API calls.