Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to manage a rejection in approval flow

(0) ShareShare
ReportReport
Posted on by 61

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 !

 

 

  • CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

    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 Robot tongue

     

    Camille

     

     

  • CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

    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 Smiley Happy.

     

    Camille

  • jcollins Profile Picture
    149 on at
    Re: How to manage a rejection in approval flow

    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. 

  • Verified answer
    CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

    Ho my God !!! 

    I find the solution !!! Smiley Very Happy

     

    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 !!!!!!! Smiley Wink

    Camille

  • CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

    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

     

  • Verified answer
    v-xida-msft Profile Picture
    on at
    Re: How to manage a rejection in approval flow

    Hi @jcollins

     

    I have made a test on my side and please take a try with the following workaround:

    • Add a "When a file is created or modified (properties only)" trigger, specify Site Address and Library Name.
    • Add a Variables-> "Initialize variable" action, Name set to ApprovalStatus, Type set to String and Value set to Rejected.
    • Add a "Do Until" action, Within Condition box, left input box set to ApprovalStatus variable, right input box set to Approved, within middle drop down, choose is equal to.
    • Within "Do Until" action, add a "Start an approval" action. Then add a Condition, left input box set to Response dynamic content of "Start an approval" action, right input box set to Approve. Within middle drop down, choose is equal to.

             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:27.JPG

     

    28.JPG

    The flow works successfully as below:29.JPG

     

     

    Best regards,

    Kris

  • CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

     

    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

  • jcollins Profile Picture
    149 on at
    Re: How to manage a rejection in approval flow

    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

  • CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

    Sorry for the link, you cannot open links because it's with the Onedrive of my company.

    So you will find the true link :

     

    Screenshot of my flow

     

    Please let me know if it's doesn't works

     

    Thanks !

    Camille

  • CamilleB Profile Picture
    61 on at
    Re: How to manage a rejection in approval flow

    Re !

     

    I just tried the Flow (screenshot) but if the Second Approval reject the document, nothing happened (expect the mail)

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow