cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cyberco01
Level 8

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
cyberco01
Level 8

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
Dual Super User
Dual Super User

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.
cyberco01
Level 8

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.

Dual Super User
Dual Super User

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.
cyberco01
Level 8

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

Dual Super User
Dual Super User

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.
Community Support Team
Community Support Team

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.
cyberco01
Level 8

Re: Approval flow on rejection to go back to originator

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

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,567)