Service-now CMDB/CSDM question

Lucky1
Tera Guru

Hello all,

 

This question is about Tag Based Service-Mapping.

Question)

I see when I open my service-now Instance, I navigated to Tag based Service family record.

Service Family name: Azure dev-ops

Tag category:               Tag Values:              Service naming order:

app                                  Jira                             1

aws                                  dev,test,prod          2

 

So, after this when I click on "view service candidates", it has opened a window and showing few records for multi selection. and I see an info message like, 

"The system completed creating the list of service candidates".


Here, my question is, how the system has shown the list of service candidates? I mean on what based?

 

Note:

While creating the tag category "aws", I have seen the Tag key given as 'env'

and while creating the tag category "app", I have seen the Tag key as 'application'.

 

Can someone please explain me how the system is showing up the list of service candidates and with metadata?

 

 

Regards,

Lucky

 

1 REPLY 1

Mathew Hillyard
Mega Sage

Hi @Lucky1 

The UI Action "View service candidates" references the following Script function: ServiceFamilyAjax().

generateCandidates().
 
This function calls Script function  SMServiceByTagsCandidatesCreator().
generateCandidatesWhenPopupOpens(), which calls the generateCandidates() function.
 
From there it consults the Tag-based service family to categories [svc_by_tags_service_family_categories_m2m] table, processes some more complex logic (which I won't attempt to explain) and ultimately calls the insertCandidates() function (which then loops through the dataset and calls the insertCandidate() function to create the Candidates in the Tag-based candidates [svc_by_tags_candidates] table.
 
I hope this helps!
Mat