We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to get only L1 relationships from Service Association CI table

MaheshArcot
Kilo Contributor
I am working on a dashboard to show Business Application to Application Service relationships and need to filter only L1 (direct) relationships from the Service Association CI table.
 

In the Relationships UI, setting the max level to 1 shows only L1 relationships, but I am not sure how to achieve the same at the table level for reporting purposes.

Could you please advise:

  • Is there any field in the Service Association CI table that identifies L1 relationships?
  • If not, what is the recommended approach to get only direct (L1) associations for this dashboard?
Any guidance or best practice would be helpful.
2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @MaheshArcot 

 

Did you try the CMDB query builder for this?

*************************************************************************************************************
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]

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

AndersBGS
Tera Patron

Hi @MaheshArcot ,

 

This is exactly the use case for the CMDB query builder, as you can define exactly what table you would like to show based on which relationship.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/