cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Big_S
Level: Powered On

Flow Approvals

Hi Guys,
I used a Microsoft flow for approvals however I when I approved from an email I received a message from the flow as approved but no changes in my app always a Pending what would be the possible issue?
approval.PNG
Thank you

9 REPLIES 9
Super User
Super User

Re: Flow Approvals

The Approvals action in Flow doesn't make any changes to the status column in SharePoint when an item is approved.  But you can easily update the status based on the Approval outcome with regular SharePoint actions.  The specific action you need is dependent on whether this is a list or a document library and whether require approval is enabled or not. (Require Approval adds a specific column that can only be set using a specific action)



-------------------------------------------------------------------------
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: Flow Approvals

Hi @Big_S 

 

How do you create your flow?

Do you configure that as this?

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-scenario-approval-flow

 

Best Regards.

Yumia

Big_S
Level: Powered On

Re: Flow Approvals

Hi @v-yuxima-msft  @Pstork1 
I have created a flow approval into Powerapps when I tried to use the flow Sendemailapproval I got errors Invalid number of arguments: received 1 expected 3
sendmail2.PNG

This is my flow created
flow1.PNGflow2.PNGflow3.PNGflow4.PNG

Super User
Super User

Re: Flow Approvals

Can you send a screenshot of the Dynamic content panel in your Flow?  From the error message it suggests that you have used the Ask in PowerApps dynamic content three times when setting up your Flow.  That has created three different parameters, but you are only passing one in PowerApps.  If there are three then all three are required.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Big_S
Level: Powered On

Re: Flow Approvals

Hi @Pstork1 
This are my dynamic contents
d1.PNGd2.PNGd3.PNG

Super User
Super User

Re: Flow Approvals

Between this screenshot and the last one I see two different parameters that need to be passed from PowerApps to flow.  They are Getrow_Rowid, ApproverToEmail.  But there must be another one somewhere. If you look at Intellisense when adding the Run( command in PowerApps it should tell you what the third parameter is. You need to specify all three each time you call 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.
Big_S
Level: Powered On

Re: Flow Approvals

Hi @Pstork1 
I get this error what happens?
flowerror.PNG

Super User
Super User

Re: Flow Approvals

I'm not sure what the error means.  Can you send another screenshot that focuses on your Apply to Each loop with the Send Email action. The error is suggesting there is something wrong with the variables in that loop.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Big_S
Level: Powered On

Re: Flow Approvals

Hi @Pstork1 
This my flow
flowe2.PNG

Helpful resources

Announcements
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

Top Kudoed Authors
Users Online
Currently online: 94 members 3,806 guests
Please welcome our newest community members: