CMDB: Disable - CI Relation Types / Suggested Relationships
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 12:48 AM
Hi
ServiceNow has a very comprehensive set af "CI Relation Types" and Suggested Relationships "out-of-the-box", but...
is there a way to disable "CI Relations Types" or "Suggested Relationsships" that we do not want to use? (to simplify things for our users).
Please note. I want to disable - not delete (i might need them another day). I cannot find any "active" property on either "CI Relations Types" or "Suggested Relationsships"
Anyone having the same need or someone having a solution?
Best regards
Søren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 01:01 AM
Hi Soren,
If you go to the suggested relationships module you can modify what appears in the suggested relationships frame. This only deletes the suggestion, not the type.
You could add your own Active field to the CI relationship form and populate the suggested relationships table via business rule with active relationships
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 01:11 AM
Hi David
Thanks for the quick answer.
I know that it is possible in the "suggested relatioship module" to define suggested relationsships. There is already a lot "out-of-the-box". I would like to disable some of those without deleting them (i might have a use for them later). I'm missing the "active" property.
As you propose, then I might develop it myself...
Best regards
Søren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 01:23 AM
Hi Soren,
If you add an active field you could control what is shown on the suggested relationships field with a simple before query business rule on the cmdb_rel_type_suggest table like below:
current.addQuery('active', true);