cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikfikrie92
Advocate I
Advocate I

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

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.

View solution in original post

3 REPLIES 3

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.

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.

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.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,410)