Hi all,
I am creating a simple flow for a leave request on a sharepoint list. One of the columns is a single line of text that users enter a users full name using a drop down that is populated via PowerApps.
The first step of the flow is to search for this user in o365 which works fine however the next step is to send an approval email.
This email will be sent to this person and the output shows that the user has an email listed however when I select <Get user>- Email It adds an Apply to Each. At this step the flow stops and doesnt error or fail just stops dead in its tracks has anyone seen this issue before? When i cancel the flow i can see that the search for users has returned the user in question with an email.
If anyone can help that would be great.
Hi Kris,
Yes i solved the problem, i believe it was the approval/rejection step that it was failing at. It was a bit hard to see from the UI of flow as the timer stays on the loop step rather then the approval. I rebuilt the flow from the ground up with almost nothing different and it works perfectly fine.
Thankyou for your reply
Regards
Damien Bryan
Hi @Anonymous,
Do you solve your problem?
I have made a test on my side and don't have the issue that you mentioned. Please check if you have filled proper value within "Start an approval" action.
In addition, please check if the approver has made a response ("Approve" or "Reject") to your approval request, if the approver doesn't make a response to your Approval Request continuously, the "Start an approval" action would be running continuously until the "Start an approval" action time out.
More details about the approval flow, please check the following article:
https://docs.microsoft.com/en-us/flow/modern-approvals
If you have any other question about Microsoft Flow, please feel free to reply me here.
Best regards,
Kris
I dont know what you've done but ive kicked the flow off again and it works a treat the email goes through perfectly fine and everything works a treat. I have no clue why it was failing beforehand as I really have not changed anything. Thankyou very much for your help.
Kind Regards Damien
I just tested myself - the approval e-mail is received shortly after the flow runs! So something is wrong with your flow!
Above is my approval step setup, Value contains an e-mail address - try to just add your own e-mail address at first to test that the approval is sent to you. This may give you an idea of whether or not that part works.
Kind regards, John
As far as I understand, it is not your For each step that fails - it is the Start for approval that is waiting and waiting. Did the person you got in the Get Directory step receive an e-mail that approval is requested?