- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a request to enforce certain mandatory CI Relationships when submitting a proposed change for a CI. For example, our Servers require a relationship to an Application Service. I am not sure how this can be enabled using CI Class Manager, Suggested Relationships, or something else.
Ultimately I would like some visual cue to be present on the Proposed Change form for the CI indicating that this relationship is required.
If anybody has implemented this, please let me know how you did it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ServiceNow does not have an out-of-the-box way to make CI relationships mandatory using CI Class Manager or Suggested Relationships - they only provide guidance and cannot enforce rules. To implement this, the common approach is to add a visual message on the Proposed Change form (using a UI Policy or Client Script) that informs the user that the selected CI, such as a Server, must be related to an Application Service. Then, to actually enforce the rule, a Before Business Rule on the Change Request checks whether the required CI relationship exists in CMDB, and if it does not, it stops the change from being submitted and shows an error message. This combination gives users a clear visual cue and also ensures the relationship is truly mandatory.ServiceNow does not have an out-of-the-box way to make CI relationships mandatory using CI Class Manager or Suggested Relationships—they only provide guidance and cannot enforce rules. To implement this, the common approach is to add a visual message on the Proposed Change form (using a UI Policy or Client Script) that informs the user that the selected CI, such as a Server, must be related to an Application Service. Then, to actually enforce the rule, a Before Business Rule on the Change Request checks whether the required CI relationship exists in CMDB, and if it does not, it stops the change from being submitted and shows an error message. This combination gives users a clear visual cue and also ensures the relationship is truly mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Out of the box, there is no direct way to do this. You can only filter in the CI dependency view and allow the user to select it. There is no way to make it mandatory.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ServiceNow does not have an out-of-the-box way to make CI relationships mandatory using CI Class Manager or Suggested Relationships - they only provide guidance and cannot enforce rules. To implement this, the common approach is to add a visual message on the Proposed Change form (using a UI Policy or Client Script) that informs the user that the selected CI, such as a Server, must be related to an Application Service. Then, to actually enforce the rule, a Before Business Rule on the Change Request checks whether the required CI relationship exists in CMDB, and if it does not, it stops the change from being submitted and shows an error message. This combination gives users a clear visual cue and also ensures the relationship is truly mandatory.ServiceNow does not have an out-of-the-box way to make CI relationships mandatory using CI Class Manager or Suggested Relationships—they only provide guidance and cannot enforce rules. To implement this, the common approach is to add a visual message on the Proposed Change form (using a UI Policy or Client Script) that informs the user that the selected CI, such as a Server, must be related to an Application Service. Then, to actually enforce the rule, a Before Business Rule on the Change Request checks whether the required CI relationship exists in CMDB, and if it does not, it stops the change from being submitted and shows an error message. This combination gives users a clear visual cue and also ensures the relationship is truly mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I appreciate this detailed response Sanket! Thank you.
