Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to obtain the ID of a resource to the cmdb_key_value table?

Cl_udia Miranda
Kilo Contributor

Hello everyone.

I have resources with tags in my AWS account.

Besides the key and value, I want my cmdb_key_value table contains the Object_ID of the resources. I tried to obtain that ID through the implementation of changes in "GET TAGS" discovery pattern", but it didn't work.

this is my "GET TAGS" pattern. the way i seek for the the object id its correct? how can i obtain the ID instead? 

find_real_file.png

2 REPLIES 2

Asi Garty
ServiceNow Employee
ServiceNow Employee

Each record in cmdb_key_value table has reference to the realted cloud CI.
All you need to do is navigate to the realted CI and check its object_id attribute.

Cl_udia Miranda
Kilo Contributor

i know that. but instead clicking on cloud CI, I want to have the object id_attribute right on cmdb_key_value table. how can i obtain this?