cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Approval flow on rejection to go back to originator

I have a powerapps form linked to Sharepoint list. I have fields in list/form like dept approval (1st approval level) , finance manager approval (2nd approval level) as drop down with values Approved and Rejected. Also, I have Request Status field which is non editable with values Draft, inReview, Completed. The respective approval person can select rejected or approved and i trigger mails based on the response selected in dropdown.
The issue is if the request is rejected at any stage i need the request status to go back to draft and continue the approval process from start.
Kindly help how this can be achieved.
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Post Patron
Post Patron

Re: Approval flow on rejection to go back to originator

Hi @Pstork1 ,

Thanks a Lot Sir. I managed the same by putting the check if the Modified By is equal to Created By. This solved the re-submit issue for me.

View solution in original post

7 REPLIES 7
Highlighted
Dual Super User III
Dual Super User III

Re: Approval flow on rejection to go back to originator

Take a look at the following Blog psot by Serge Luca.  He describes how to do an approval using multiple Flows in a State Machine pattern.  This is the kind of implementation that you need for your requirement.

 

https://flow.microsoft.com/en-us/blog/state-machines/

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Post Patron
Post Patron

Re: Approval flow on rejection to go back to originator

Hi @Pstork1 ,

How can I resubmit the same item after rejection. Unable to achieve that.

Highlighted
Dual Super User III
Dual Super User III

Re: Approval flow on rejection to go back to originator

Essentially, using HTTP/HTTPS you start a new Flow with a New Approval process.  If its just a re-launch of the original Flow it will essentially re-submit the item for approval.  There is no way to really re-submit in the existing Flow instance.  But you can re-start the Flow.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Post Patron
Post Patron

Re: Approval flow on rejection to go back to originator

Hi @Pstork1 ,

Thanks a Lot Sir. I managed the same by putting the check if the Modified By is equal to Created By. This solved the re-submit issue for me.

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

Re: Approval flow on rejection to go back to originator

Sorry, I guess I misunderstood your question.  I thought you wanted to re-submit the Flow under certian conditions. I didn't realize that you had that working, but wanted to prevent re-submission by the same person. I'm glad you got it working.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Community Support
Community Support

Re: Approval flow on rejection to go back to originator

Hi @cyberco01 ,

Do you trigger a flow (Microsoft Flow) from your app, then update the Request Status field based on specific condition?

Have you solved your problem?

 

Based on the solution you provided, I agree with it almost.

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Post Patron
Post Patron

Re: Approval flow on rejection to go back to originator

Yes Sir, the issue has been solved. Thanks a Lot.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,932)