RITM closing before all manual tasks are closed

Russell Abbott
Kilo Sage

I have a requirement to fix an issue with a flow inside of Flow Designer

Our flow generates tasks

Scenario 1 - works fine

We create one manual task, close the system generated tasks, then the manual task

Scenario 2 - does not work

We create one manual task, close the system generated tasks, create another manual task, close the 1st manual task. Here is where the RITM will close and leave the 2nd manual task in an 'Open' state. Ideally we want the closure of the 2nd task here to close the RITM

 

In the screenshot below, I show the workflow for a RITM that follows scenario 2. Line 49 only shows 2 records when in fact there are 3 tasks on this RITM

 

Am I calling the lookup too early? Do I need to do another lookup further toward the end of the flow? Should I NOT use the trigger for the lookup and instead use the RITM number?

 

Any advice would be gratefully received

 

flow1.jpg

2 REPLIES 2

Harsh_Deep
Giga Sage
Giga Sage

Hello @Russell Abbott ,

 

At last give wait for condition to check whether the task is closed complete/incomplete.

 

Then it will work fine.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

sunil maddheshi
Tera Guru

@Russell Abbott 

 

  • Move the initial "Look Up Records" (line 48) further down the flow

    • Instead of retrieving tasks at the beginning, perform this lookup right before you check if all tasks are closed (before line 52).
    • This ensures you capture any new manual tasks before deciding to close the RITM.
  • Add a second "Look Up Records" action near the end of the flow

    • Before closing the RITM, retrieve all tasks again to confirm that none remain open.
  • Change how you check for active tasks

    • Add a condition to check if any Catalog Task is still open before marking the RITM as "Closed Incomplete."

Mark Helpful if you find my response worthy based on the impact.