OOTB "Update Child Incidents" Business rule is not working

captainpugwash
Kilo Expert

Hi Everyone,

During some testing for ITSM processes I have noticed that the "Update Child Incidents" business rule is no longer working for Comment/worknote update nor for closure, 

The rule appears to still be in it's original state and I canno't see any other rules that would be causing this to abort, 

Does anybody have any tips on how I can troubleshoot this to get the rule working again?

 

Many Thanks

Ben, 

1 ACCEPTED SOLUTION

captainpugwash
Kilo Expert

So yes.... The OOTB rule does work, looks like our initial (or one of the many other ) partners we used setup the incident form wrong... I've now added the correct Table collumn fields to the incident form and all is well with the world!

Apologies for wasting your time but your answers did help me to troubleshoot the problem so it did help!

View solution in original post

11 REPLIES 11

That is correct. Even I have debugged further and found OOB UI Action does not works.

OOB UI Action calls a Client Script named "CreateChildIncident" which fails to create child incident and it just redirect to a new Incident form.\

HI Article on the same below:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0791856

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692014

find_real_file.png

In case there is another workaround to have our own custom UI Action to create Child Incident and we can use the code below:

createChild();

function createChild(){
var gr = new GlideRecord('incident');
gr.initialize();
gr.parent_incident = current.sys_id;
gr.short_description = current.short_description;
var success = gr.insert();
if(success){
action.setRedirectURL(gr);
}
}

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

create child incident works for me, the issue was that the fields added to the incident form were not correct