Can a child incident update the parent incident

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 09:27 AM
Hello Team,
Can a child ticket update the parent ticket status upon its closer?
Child incident get closed, Parent incident state updates from new to in progress after the child incident is closed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 01:38 PM
Hi,
Yes, you can create an "after" business rule on the child incident table (I assume incident), and then you'd use GlideRecord to query for the parent record using the related reference field that links two records together (parent field?) and then update the state as needed.
https://developer.servicenow.com/dev.do#!/reference/api/tokyo/client/c_GlideRecordClientSideAPI
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 11:40 AM
Hello Allen, thank you for your guidance. So I started the Business rule. I'm still in training and a little weak on the coding aspect. I followed the link you provide and it helped but I'm still stumped. Would you know how to start the script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 11:48 AM
Hi,
There's still a few things we need from you to provide a more thorough solution such as:
- Are you talking about an Incident that can be a child to a parent Incident (so not incident task?)
- What is your process if a parent Incident has more than 1 child Incident...and those other child Incidents are still open?
- If you're trying to create some sort of Major Incident Management (MIM) process, which is usually when parent and child Incidents (again...not tasks) come into play, then you can activate the Major Incident Management plugin and consider using that instead?
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 12:55 PM