Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Configuration Item

Narmadha PR
Tera Contributor

Hi, 

How toauto populate the business_service field based on the configuration item in the change record?

1 REPLY 1

Dr Atul G- LNG
Tera Patron

Hi @Narmadha PR 

 

The statement is a liner but it is not easy to do.  To get BS populated, you need to check the upstream relationship from CI to upwards, which means you need to capture all CI relationships in an array and need to traverse till the point you got the BS now the point is If a CI is related with 1 BS than fine but if more than that the user needs to select one from the list.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************