Flow Designer - Wait for Condition in parallel to Approvals generated

snow_04
Giga Contributor

Hi,

 

Need some assistance related to Flow Designer. In the flow designed, we are creating Approvals record on RITM based on mapping we have at the backend. Once the Approvals are created, we need to validate if the Approvals are Approved or not and if it not Approved then wait for 1 business days and then trigger an email so that they can approve the records. Once Approved we need to create Catalog Task.

Point where I am stuck is Once the Approvals are created, I have put a Wait Action but the flow gets stuck in Approval Action step itself as the Approvals are in Requested State and it does not validate the Wait for Action step.

 

Any help would be much appreciated on how to check for Wait action even if Approvals are in Requested State which is leading to Flow getting stucked

 

Kindly assist!!

8 REPLIES 8

Community Alums
Not applicable

You're better off putting your reminders in a separate flow completely. Based on them being created in the approval table. 

As you've discovered, "wait for approval" is a blocking action, so you can't do something else in the same flow (well, you can, but not in a "nice-to-maintain" way). 

Hi Mike,

 

Thanks for your prompt response. Your suggestion seems valuable and will try the approach mentioned. Can you also let me know are ou mentioning of creating a new separate Flow or a Subflow?

And also if it's a new Flow then can we include the new Flow within my existing flow?

Kindly assist!! 

snow_04
Giga Contributor

Hi Mike,

Any input on the query above.

Community Alums
Not applicable

Hi, 

It would be a new flow that's completely separate to your current flow. 

Your flow trigger would be records created on the Approval table (you can dot.walk through the condition builder if you only want this to apply for this item). Make the first entry in your flow a wait for 24 hours - check if the approval is still "requested" and then trigger the notification, end if it's already moved on from "requested"