Close Requested item from the parent flow when task in child flow is closed (Flow Designer)

Kalik2
Tera Expert

I want to close the RITM if the task in sub-flow is closed. How can I achieve it?

1 ACCEPTED SOLUTION

Soeren Maucher
Mega Sage

The Subflow in which you create the Catalog Task will wait until the task is closed. Then you can do an update record action on the RITM and update its state. The RITM is linked on the Catalog task and can thus be accessed with dot walking. In the example I did an additional if statement to only close the RITM if the task was set to closed complete.
find_real_file.png

View solution in original post

2 REPLIES 2

Soeren Maucher
Mega Sage

The Subflow in which you create the Catalog Task will wait until the task is closed. Then you can do an update record action on the RITM and update its state. The RITM is linked on the Catalog task and can thus be accessed with dot walking. In the example I did an additional if statement to only close the RITM if the task was set to closed complete.
find_real_file.png

Hi Soeren,

 

Do you know if it's possible to take your above example and make it a subflow, so that it can be called into a main flow and reduce action bloat?