- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2022 03:09 AM
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,
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2022 02:58 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2022 03:04 AM
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
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
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2022 03:14 AM
create child incident works for me, the issue was that the fields added to the incident form were not correct