create query between two CI classes with OR conditions in CMDB Query builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 11:00 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 11:29 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 02:46 PM
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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 10:41 PM
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?