Linking 2 incidents together
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2012 08:15 AM
Hello Guys,
I was wondering if there is a way to link 2 incidents together in ServiceNow?
In case if 2 incidents have something simillar, linking them would give an easy access to related information that could help in investigating/solving those incidents.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2015 08:22 AM
If we need to research why the Incidents are alarming, we will create a Problem after the fact but once the Incidents have been resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2015 01:00 PM
ITIL guidance would say to create a problem, then perform your root cause analysis there.
Understanding that real-world cases often differ this guidance, and also recognizing that there are not many customers with a mature Problem Management process, the Parent/Child incident is the simplest approach.
The way we generally implement this isn't to lock out "child" incidents from writability, but to limit the relationship to 1 level. I.E. prevent "grand-child" incidents.
This is done by a simple reference qualifier (pre-Eureka):
parent_incidentISEMPTY
If you're using Eureka, it's even easier. Personalize the same Parent field (depending on what version of ServiceNow you're using, this is either "parent", "parent_incident" or "u_parent_incident":
Then, you're welcome to perform any additional customizations or "links" you wish, using Business rules.
For example, if you want to cascade work notes from the parent to the children, this is a simple business rule to use:
When: after/update
Condition:
current.parent_incident.nil() && current.work_notes.changes()
Script:
updateChildWorkNotes();
function updateChildWorkNotes(){
var childIncidentQuery = new GlideRecord('incident');
childIncidentQuery.addQuery('parent_incident', current.sys_id);
childIncidentQuery.addQuery('sys_id', '!=', current.sys_id); // make sure we don't get into a loop
childIncidentQuery.query();
while (childIncidentQuery.next()){
childIncidentQuery.work_notes = current.work_notes;
childIncidentQuery.update();
}
}
Finally, add the "Incident > Parent Incident" related list to the Incident form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2015 12:59 AM
Grandparents are fine in real life, but not so much in tickets. Valor's approach prevents a child ticket from choosing a grandparent. But to complete the job, you need to prevent a parent ticket from itself choosing a parent. To do this, I would place the Child Incidents field on the form. It has an auto-generated count of children. I would add a UI Policy which sets the Parent Incident field to read-only if Child Incidents > 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2015 01:16 AM
Have a look at http://wiki.servicenow.com/index.php?title=Many_to_Many_Task_Relations
It gets around the whole grandparent issue.
This supports M2M task relations and relationships can be added as you need them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2015 01:33 AM
Thanks, Neil. That's another approach. As ever, it comes to what you are trying to achieve. With parent/child incidents, you can set Homer Simpson as the parent of Bart and Lisa, but Marge is left out of the picture. But with M2M, you can set both Marge and Homer as parents to Bart and Lisa. It's a bit harder to take in at a glance, but mirrors the real world better.