If all child incident is closed then after Parent incident should be closed. How to achieve through Flow designer?

priya singh1
Tera Contributor

     

1 ACCEPTED SOLUTION

@priya singh 

I just tested and you should be filling the below 2 fields during marking the Incident as Inactive

It worked fine for me

Updated Flow for update

find_real_file.png

find_real_file.png

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

@priya singh 

Steps

1) Have flow trigger on incident closure

2) then use Lookup record action to search for the Parent

3) Then use Update Action to close the parent

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Screenshots

Remember to Save and Activate the Flow

Assumption: Parent incident is stored in parent_incident field

1) Flow trigger

find_real_file.png

2) Look Up Incident Records check this

a) Find incident with same parent and Active is True

-> Found -> then don't update the Parent

-> Not found -> means all child incidents for this Parent are closed

find_real_file.png

3) Use if to check the count

If the Count is 0 then update the Parent Incident

find_real_file.png

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi, Ankur 

Can you please explain if condition what condition should i use there?

Hi,

forgot the if condition screenshot.

Edited it in the above post

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader