Insight into SNC.CMDBUtil.getRelatedServicesV2

Dinesh Nayak1
Tera Contributor

Can someone provide implementation/ source code of SNC.CMDBUtil.getRelatedServicesV2 please?

3 REPLIES 3

Satishkumar B
Giga Sage
Giga Sage

Hi @Dinesh Nayak1 

 

try this 

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_referenc...

———————————————————-
If my response helps, please mark it as "Accept as Solution" and consider it "helpful."

Tomas Lozano
Tera Expert

interested as well... the script include 'global.CIUtils' in Washington is referencing it in the method '

servicesAffectedByCI' on the condition that sys_property '
glide.cmdb.related.services.use.multilevel.queue.approach' is set to true.

I'm unable to find any documentation on that sys_property anywhere..

Thomas124
Tera Contributor

Since Vancouver, in the “CIUtils.servicesAffectedByCI(..)” function, the “_addParentServices” function has been replaced by SNC.CMDBUtil.getRelatedServices.
Since then, the results have been different (more CIs than expected) and I can't understand the relationships reported.
Do you have any documentation on this subject? (the link to the API documentation doesn't mention this function).
The implementation seems to have changed.