cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

7 REPLIES 7
Super User
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.

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

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

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 382 members 4,974 guests
Please welcome our newest community members: