Interactive Filter from CMDB Dependency Views

j0e matts
Tera Contributor

Hi Everyone,

 

Is it possible to create an interactive filter based on the Dependecy Views.

I have a Parent Application CI which has children CI's created in dependency views.

I want to create an interactive filter for my incident dashboard, so that when I select the Parent CI, incidents with children CI also gets to be included on my filter.

j0ematts_0-1708661003122.png

For example, in the interactive filter I select BA_A, then the children of this CI should also be included in the filter.

I tried cascading filter but I can't seemed to make it work because there's no way to map or capture the dependency view to map the relationship between the CI's based on the dependency view. Our cmdb table doesn't also have that parent and child field to see each ci's relationship. Appreciate whoever can give some suggestions or feedback as I can't seem to find any available solutions in other posts. Thank you in advance!

4 REPLIES 4

Tai Vu
Kilo Patron
Kilo Patron

Hi @j0e matts 

Let's have a look to the below thread.

Custom interactive filter examples

 

You can have a custom interactive filter, where we will use the parent CI to query all the child CI then you can build your own query and publish the filter in the dashboard.

 

Cheers,

Tai Vu

AJ-TechTrek
Giga Sage
Giga Sage

Hi @j0e matts ,

 

You should create the Custom Interactive filter , You can refer below articles.

 

https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/business-service-ma...

 

https://docs.servicenow.com/bundle/washingtondc-now-intelligence/page/use/dashboards/concept/c_Homep...

 

https://docs.servicenow.com/bundle/washingtondc-now-intelligence/page/use/dashboards/concept/c_Custo...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

j0e matts
Tera Contributor

Thank you very much for your feedback! However, I'm still fairly new when it comes to scripting.

Is it possible to query from the dependency view table? if its not too much to ask if you can guide me how to build the script for the custom interactive filter and I can fill in the rest. Very much appreciated for whoever can advise again! thank you!

Hi @j0e matts ,

 

There are couple of Interactive filter artciles, refer below which may help you on this.

 

https://www.servicenow.com/community/performance-analytics-forum/script-related-to-interactive-filte...

 

https://www.servicenow.com/community/developer-forum/custom-interactive-filter/m-p/2705937

 

https://docs.servicenow.com/bundle/washingtondc-now-intelligence/page/use/dashboards/reference/r_Cus...

 

https://docs.servicenow.com/bundle/vancouver-now-intelligence/page/use/dashboards/task/create-cascad...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024