How Can I show info message on my incident record when child records are added in it via list collec

Anmol12
Tera Contributor

How Can I show info message on my incident record when child records are added in it via list collector?
I have tried by using after update business rule but it is not working.

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@Anmol12 Could you please explain your use case in detail and also share the script which you tried so far.

Hi Sandeep, yes so whenever I add child incidents in a incident record via related list list collector it should show a info msg in that parent record.

Tried After Update BR but notworking -

Spoiler
Spoiler
var grinc = new GlideRecord('ncident');
grinc.addQuery('u_parentinc', current.getUniqueValue());
grinc.query();
if(grinc.next()){
gs.addInfomessage('Work on parent, close all childs');
}