
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2018 01:55 PM
Greetings -
I recently found an issue with the parent/child incident relationship in our instance.
There are two methods of creating a child incident that I’m aware of, using the “Create Child Incident” button on the top of the incident form, and going to the “Related Records” tab and typing a parent incident number into the “Parent” field, making the current incident a child.
Through my testing, I have found that the “Update Child Incidents” business rule is only running on the child incidents that were created/designated using the “Create Child Incident” button on the top of the parent incident form.
If we get a large number of incidents submitted and we have a designated parent incident already, if we add the parent incident number to the “Parent” field on the “Related Records” tab, it won’t establish the proper parent/child relationship and any updates made to the designated “Parent” will not update all the affected child incidents added using that method.
I found out that the field "Parent Incident" is not being updated when the "Parent" field is populated, and this prevents the Parent incident actions from copying to the child incidents.
I want to set a business rule on the incident table to copy any entry into the "Parent" field to the "Parent Incident" field so that when one gets set, the other gets set to the same, thus establishing the parent/child relationship.
I cannot get my business rule to work. Here's what it looks like:
It won't let me select the Set field values: "Parent Incident" field same as "Parent" field. Any ideas?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2018 06:37 AM
In our instance, the Parent_Incident field was missing from the incident form layout but Parent was on the form layout.
The business rule: "Update Child Incidents" was (by default) looking for the parent_incident field, and this was what the issue was because the field was not on our form layout so it couldn't be populated.
I changed both lines in the business rule: rec.addQuery("parent_incident", current.sys_id);
to the following and it resolved the issue: rec.addQuery("parent", current.sys_id);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2018 01:24 PM
Great you solved the issue - please ensure you mark your answer as correct so the article is closed off and can be searched in future.