cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikfikrie92
Level: Powered On

How to create a flow that wait for status value to be updated before proceed to next step

I have a dropdown/choices field in a SharePoint list and I want to create a flow that waits for the status to be updated then it will proceed to the next step/ process. I cant use "Wait for Approval" function here because the status must be updated in SharePoint list.

 

1. When item is created in SharePoint list, the Status value will be "Pending"

2. Wait for the status to change from "Status" to "Pending", otherwise it wont proceed to next step until the status is updated.

3. Once status was updated (approve or reject or need rework), the flow will send the email notification. (Step 3 won't proceed until the status is change)

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to create a flow that wait for status value to be updated before proceed to next step

You can trigger another workflow but it all depends on the Trigger associated with workflow 1. If workflow 1 is triggered on a list update, then just make a change to the list and it will fire. If you wanted more control you could use the "When a HTTP Request is received" trigger and call it from a HTTP Request action. This starts to get a little more complicated in both the implementation, but also in the licensing as you need a Plan 1 to start to use some of those.





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

View solution in original post

3 REPLIES 3
Super User
Super User

Re: How to create a flow that wait for status value to be updated before proceed to next step

Hi @nikfikrie92 , there are a couple of ways you could approach this. The first is that you could use the Do Until loop action, e.g. Do Until Status does not equal Pending, and then have your conditions afterwards. If you choose to do this, make sure that you change the loop interval in settings, as it will loop every second by default (off the top of my head, settings are still broken for me at the moment). This will loop 60 times and then terminate regardless of whether the desired action has taken place or not, so if you leave it as a default it will wait for a minute.

 

The alternative, and the way I would approach it, would be to have a second Flow which triggers upon the item being updated. I can then check to see if the status has changed from Pending, if not then I can terminate the Flow, otherwise I can process it accordingly.

 

Obviously this means that I have a second Flow to deal with, but it will be a lot more flexible than by trying to get your first Flow to do everything.





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

nikfikrie92
Level: Powered On

Re: How to create a flow that wait for status value to be updated before proceed to next step

Hi @MattWeston365, thanks for your reply. I'm going to try your suggested alternative which is to create the second workflow and see how the result going. By the way, if I create a third workflow and will trigger workflow 1 is it possible? 

Thank you.

Super User
Super User

Re: How to create a flow that wait for status value to be updated before proceed to next step

You can trigger another workflow but it all depends on the Trigger associated with workflow 1. If workflow 1 is triggered on a list update, then just make a change to the list and it will fire. If you wanted more control you could use the "When a HTTP Request is received" trigger and call it from a HTTP Request action. This starts to get a little more complicated in both the implementation, but also in the licensing as you need a Plan 1 to start to use some of those.





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,842)