How to make work notes of child and parent incident visible for each other?

Alon Grod
Tera Expert

Hi,

Is there any way to show all work notes of parent incident on the child incident and all child work notes on parent incident and give the user an option to choose if to see it or not using the activity filter?

2 REPLIES 2

Gangadhar Ravi
Giga Sage
Giga Sage

Hi @Alon Grod 

 

There is no out-of-the-box (OOB) solution for this. The recommended approach is to use a Business Rule. You can refer to the detailed discussion and solution in this link.

 

Please mark my answer correct and helpful if this works for you.

Mani A
Tera Guru

write after update BR on Parent table when worknotes changes + parent incident is not empty

 

 

 

  var grIncident = new GlideRecord('incident');
    grIncident.addEncodedQuery('parent_incident='+current.sys_id);
    grIncident.query();
    while (grIncident.next()) {
		grIncident.work_notes = current.work_notes.getJournalEntry(1);
		grIncident.update();
    }

 

 

 

write after update BR on child incident table when worknotes changes 

    var grIncident1 = new GlideRecord('incident');
    if(grIncident1.get(current.parent.sys_id.toString())
   grIncident1.work_notes = current.work_notes.getJournalEntry(1);
   grIncident1.update();