- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2021 10:00 PM
Hi Community
We would like to filter CMDB classes based on the CI relationship with other classes on the incident, change and problem forms
For example, when filling out an incident form and selecting a Business Application CI we would like the Business Services field to only show the Business Services that have a dependency with that Business application
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2021 11:20 PM
Hi,
It depends on your case.
Since you want the reference qualifier dependent on another field so you would require advanced reference qualifier.
example here
Advanced Reference Qualifier Using a Script Include
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2021 10:04 PM
Hi,
you can apply filter using reference qualifier on the reference field
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2021 11:08 PM
Thanks Ankur
Would we use a simple or dynamic reference qualifier and what would the qualifier look like when filtering based on relationship to parent or child class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2021 11:20 PM
Hi,
It depends on your case.
Since you want the reference qualifier dependent on another field so you would require advanced reference qualifier.
example here
Advanced Reference Qualifier Using a Script Include
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2021 01:31 AM
Hi Elias,
I agree with Ankur, that this requires an advanced reference qualifier, since you need to use CI relations. However you should not have Business Services being dependent on Business Applications.
Business Applications are non-operational CI's. I would strongly suggest you work with Application Services for this. Please visit Common Service Data Model conceptual model for more information.
Best regards,
Casper