How is the correlation ID discovered during Cloud Discovery in ServiceNow?

Pranita Bahugun
Tera Guru

Hello everyone,

I would like to understand how the correlation ID is discovered during Cloud Discovery in ServiceNow. I reviewed the discovery patterns but couldn’t find any specific steps that explain how the correlation ID is captured. For several of our servers, the correlation IDs are not being discovered, and I would like to know the mechanism behind how they are identified and populated in the CMDB.

Any guidance or clarification on this process would be greatly appreciated.

 

Thanks,

Pranita Bahuguni

4 REPLIES 4

pavani_paluri
Kilo Sage

Hi @Pranita Bahugun ,

 

Correlation ID is not really “discovered” by patterns.It’s usually populated from external systems, not collected from the server itself.


How it actually gets populated

Cloud Discovery
Cloud APIs return a unique ID (like AWS instance ID, Azure resource ID), and that is stored as `correlation_id`

Integrations (SCCM, VMware, etc.)
External system IDs can be mapped to `correlation_id` via transform maps / IRE.

 

Why it’s missing for some servers

On-prem discovery (via MID Server)
→ No correlation ID by default (this is expected)
No external source providing an ID
→ Nothing to populate
Mapping / reconciliation not configured
→ Field remains empty

 

Correlation ID = External system’s unique identifier (not a discovered attribute).So if your servers are discovered via normal discovery (SSH/WMI), it’s normal for correlation_id to be blank.

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P

 

Hi @pavani_paluri,

Thankyou so much for your response.

We have cloud discovery and the correlation id is getting populated not as some numbers but it is like this: (subscription details/ resource group details/ etc...)

Not very sure on how to find the source that is updating it. When i check the CI history i could see MID Server is updating this field. 

Any idea on where i can check it.

 

Thankyou!

Hi @Pranita Bahugun ,

 

The correlation_id you see is the native cloud resource ID, coming from Azure/AWS APIs via Cloud Discovery patterns. MID Server only executes the process—it does not generate the value.
 
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P

Hi @pavani_paluri ,

Thankyou for your reply, Really appreciate it.

Any idea on what are those discovery patterns as i checked the patterns triggered when Azure VM schedule runs for e.g. (Windows OS) and couldnt find the step that updates correlation id.

Thanks again!