Hi Everyone !
I use flow in my company in France and i create approval flow alone.
I would like to do this :
- Approval 1 -> approve OR reject
- If Approval reject -> restart of flow at the "start an approval 1"
I explain that i would like to restart flow to the "Start an approval" of the approval wich was reject the document
I dont' know if it's understanding ...
Maybe @sergeluca can you help me (I read your blog https://sergeluca.wordpress.com and it was very interesting but i didn't understand the screenshot)
Thanks for any help !
Hi !
My flow works but the function DoUntil isn't very stable.
I nedd to reboot the flow if the approval reject the document and for this i nedd to complet flow with delay between reject and reboot flow (to modificate document before reboot flow).
I try everything (use do Until and Delay) but nothing works.
I receive three mail for one reject and flow reboot after 2 seconds ... even if i specifie delay in DoUntil function and delay.
So .. i think that it's DoUntil function wich not stable, and i read many post on the forum wich talk about this.
PS : Sorry if my english isn't great
Camille
Hi @jcollins
I use DoUntil in the bottom of every Start an Approvral because I would like if every Start an Approval reject the document, the flow return to this Start an Approval unitil approbation.
Do until 1 :
Start an approval 1
Condition
If Yes = Mail + DoUntil 2
If No = Mail
Do Until 2 :
Start an Approval 2
Condition
If Yes = mail + DoUntil 3
If No --> return to Start an Approval 1 to see modifications (so it's Start an Approval 3)
Do Until 3 :
Start an Approval 4
Condition
If yes = Mail of total approbation
If no = Mail of total rejection
I don't use Reponse in my variable but three DoUntil for three Approbals. And the Variable use If Yes and If No on every Start an Approval so it's more complet than your flow I think .
Camille
here ya go: https://drive.google.com/open?id=1i5FbL5oWYxMWtr5Fv5I2YN8j4TIo0Kk9
I don't think you need to create a variable for the Response because the response is already held in the Response condition.
Ho my God !!!
I find the solution !!!
It's just for one approval but I think I can apply this for many approval now.
I use the variable "ApprovalStatus" in "Si oui" with value "Approved" and in "Si non" with the value "Rejected" and the flow return to the approval if the document is rejected.
That's my flow :
Screenshot 1 : https://drive.google.com/open?id=13ZdsOG178tGoRX9G6Tx0QBXbyVPBxKmT
Screenshot 2 : https://drive.google.com/open?id=1z_5DRS5DtUYpz8Fzlwzb87ZQvXaPeGfG
I will try with two or three approvals and if i need your help I will call you !
Thnaks you so much !!!!!!!
Camille
Hi @v-xida-msft
Thanks for your help !
I try your flow and it's works even if i use the action "A new item is created" because my documents are in "list" but not in "library".
The Flow works but if the approval reject the document, the flow didn't start again automatically with the same document.
So if you want to find a solution with us ...
I try to discover a solution since three weeks
Best regards,
Camille
Hi @jcollins
I have made a test on my side and please take a try with the following workaround:
Within "If/yes" branch of Condition, add a "Set variable" action, Name choose ApprovalStatus, Value set to Approved. Then add a "Send an email" action.
Within "If/no" branch of Condition, add a "Send an email 2" action.
Image reference:
The flow works successfully as below:
Best regards,
Kris
Hi !
Sorry but i have many difficulties with share law in my company.
Maybe can you try to see my flow with this link ?
https://drive.google.com/open?id=17bfSTfRZB5ezPhxFJK3bG0EzUgEIC032
Thanks for you reply @jcollins i will test this now. But can you show me the complet flow ?
Camille
I don't know why but we can't seem to upload images here....If I figure out how, I will do so. Links you left don't work.
But I am using the DoUntil to look for when the item is modifed (Modified must equal the created by) then it will trigger creating a new item. try this image
Sorry for the link, you cannot open links because it's with the Onedrive of my company.
So you will find the true link :
Please let me know if it's doesn't works
Thanks !
Camille
Re !
I just tried the Flow (screenshot) but if the Second Approval reject the document, nothing happened (expect the mail)
WarrenBelz
146,618
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,962
Most Valuable Professional