Filter conditions in CI relationship formatter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 02:05 AM
we have created few CI classes and to establish relations among them we are using this CI relations formatter. when we try to select the CI after selecting relation, automatically a filter is appearing . The conditions location is anything and operational status is anything are coming from "ci_manage_relationships_filter_hint.cmdb_ci" (user administration> user preferences). I couldn't get how the first filter condition "class is a ...." is getting generated. I heard it is coming from macro and I would like to know how to change this filter from "class is a " to "class is" by default.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 02:13 AM
Hi JP
Check these thread once, they have did the same use case
https://community.servicenow.com/community?id=community_question&sys_id=83bd876ddb9cdbc01dcaf3231f961940
https://community.servicenow.com/community?id=community_question&sys_id=e8ef7eaddb58dbc01dcaf3231f961982
https://community.servicenow.com/community?id=community_question&sys_id=b9910769db98dbc01dcaf3231f961931
Hope this helps
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 02:38 AM
Hello
Thanks for the reply.
In the suggested relationships , when I create a new relation by selecting base class and dependent class, in the filter conditions on the base CI, it is showing all the child classes of my dependent class too.
I need to restrict it to show only the dependent class and not its child classes.
Could you please let me know how to achieve it?