create query between two CI classes with OR conditions in CMDB Query builder

Piyush Dwivedi
Tera Contributor

How to create query between two CI classes with OR conditions in CMDB Query builder

 

CMDB CI Class A with certain filter OR CMDB CI Class B with certain filter.

3 REPLIES 3

k_lutz
Tera Guru

Can you provide more details about the classes and the filters? At first read, I am not sure why this is not a report where you run it for one class with the filter and the OR there with the second class and use common attributes since most come from the base class. That seems easier than trying to use the CMDB builder which is meant to utilize existing relationships between classes.

 

AndersBGS
Tera Patron
Tera Patron

Hi @Piyush Dwivedi ,

 

i agree with @k_lutz . Create a s simple report instead of utilizing the CMDB query builder, as you would just like to report class A or class B.

 

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/

Piyush Dwivedi
Tera Contributor

I am trying to create a Dynamic CI group with the CMDB group with below mentioned query.

 

so is it possible to use that kind of filter conditions in CMDB Query Builder?