Hey all, I'm using Flow and Sharepoint to approve or deny overtime for employees. I used Form to create a form that is pasted to their browser on their desktop or phone. They fill it out to request overtime and send it. Then we get an email notification to approve it or deny it. If we approve it, then it goes to OUR supervisor for another approval. If it gets approved the original overtime requester gets an email saying it has been approved and we get an email notification as well. The flow history lists it as "succeeded." The problem we are having is when we get the initial overtime request and we deny it. The original requester gets notification that is has been denied and we do too, but the flow continues to run. In flow history it will say "running" for pretty much forever. How do we get it to stop and become a "succeeded" flow. It seems like it is searching for that second approval or denial, when in reality it should just stop there. I have tried adding in a "stop flow" action but it isn't working. If everyone approves it, there doesnt seem to be any issues and its listed in Flow history as succeeded. HELP! Thanks! - Craig
Thank you for all your help, I will implement these changes and hopefully it all works. I may be calling upon you some more to walk me through this. I am pretty new to using these applications, but they open up a lot of doors in many areas of my job functions.
As often as you want, so you can track what happens in flow without open the flow run - just by looking in your sharepoint list.
So for example in my case, after every approval, in the Yes branch I have an "Update item", also in the No branch, another "Update item" - so I`ll know who didnt answer yet, who approved or rejected and when.
How often do I have to put the "Update in Sharepoint action"
As I see, it should send mail to the requestor because in your No branch you already have a "send an email".
Ok I will give it a try. In the "No" branch of my condition do I have to put send an email to original requestor? or does it do that automatically?
I've posted some pics of my Flow. I've blacked out the names. I'd like the flow to end successfully if I initially reject it, with no further emails to my supervisor. An email would be sent to the original requestor saying it was denied, and my reasons why in any comments I decide to leave. If I approve it, it goes to my Supervisor for approval. If he approves it, then an email goes to the original requestor and myself saying its approved and the flow should end successfully. If he denies it, an email should be sent to the original requestor and myself saying it was denied and the flow should end successfully. Any help is appreciated. Thanks!
Hi @Camma5150
My guess is that your flow looks like this (and the second approval/the next steps are running no matter what the answer is)
And instead, it should look like this:
Drag and drop your second approval to the "If yes" branch (or if you cant, recreate the steps in the "if yes" branch) If thats the case, please mark @v-yamao-msft`s post as the solution.
Cheers
Hello Mabel,
My flow works but what happens is even if I deny a request for overtime, it still goes to my supervisor for approval/denial. Here's how it works now: When a request for overtime comes to me, I approve it or deny it. If I approve, it emails my supervisor to review the request, and he must approve or deny it. If he approves it, then the original requestor gets an email, along with myself saying it has been approved. This completes the flow successfully. If he denies it, the original requestor, along with myself, gets an email saying it has been denied. This completes the flow sucessfully. If the overtime request comes to me, and I deny it, I want it to send an email to the original requestor along with my comments of why it was denied. Then the flow should end sucessfully. I cant get it to do this. Instead, if I deny it the overtime request, it still goes to my supervisor for approval or denial. He sees that I denied it and he denies it too, but its an annoying extra step (and email) that he really doesnt want or need to be getting. Please advise.
WarrenBelz
146,658
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional