cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Replacing the old "Wait" function in Sharepoint Flows

I am trying to rebuild a flow in Power Automate that has stopped working in SharePoint Flows. It does two things --
1) When a new record in the New Employee Form list is created, it emails a notification and a link to the item to the HR Manager.
2) When the "HR Manager Approval" field changes from "No" to "Yes" (false to true), it sends an email informing a list of stakeholders about the approved employee and gives them a link to the item.

 

This used to be achieved in a single flow, using a "wait" command that kept the flow looking at the "HR Manager Approval" field until it changed status.  As I say, I'm trying to recreate this functionality in Power Automate. Can this still be handled in a single flow, or do I need to break it into two flows with two separate triggers? And how do I trigger the second "half" of the flow? I've tried using the code @equals(triggerBody()?['HR Manager Approval'], true) in the trigger conditions of a separate flow, but Power Automate doesn't respond to this in tests. How do I handle this?

1 REPLY 1
Dual Super User III
Dual Super User III

Yes, this can be done in a single flow.  If you use the Start and Wait for an Approval action in the flow you won't need to use a Wait action.  The approval will pause the flow until the manager replies to the approval.  At that point you can either proceed with the second half (assuming the outcome is Approve) or loop around and send another approval.  No need to wait and check the status field.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (18,867)