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

Error message when approving an approval flow with attachment

Hi, I've added the link to the sharepoint list with the attachment on my modern approval email. Everytime I approve or reject, I get an error message shown below. Please advise

approvalemail.jpgerrmesssgaa.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: Error message when approving an approval flow with attachment

Hi @Axisus ,

I am afraid you need move the condition into the 'Apply to each 2' action.

Capture7.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Super User
Super User

Re: Error message when approving an approval flow with attachment

Hi @Axisus can you please post a screenshot of your condition? I suspect that it's because you are using the Responses dynamic content from the approval, which will return an array.

 

If you have found this post useful, please give it a thumbs up. If it has answered your question, please accept it as the solution so others can benefit.

@MattWeston365





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Axisus
Level: Powered On

Re: Error message when approving an approval flow with attachment

Hi @MattWeston365 , Sure, please see the screenshot below: 

flow.jpg

It seems to fail everytime on the Condition stage

v-zhos-msft
Level 10

Re: Error message when approving an approval flow with attachment

Hi @Axisus ,

Could you please share a screenshot of your flow's configuration?

I have made a test on my side, it works well.

Capture.PNGCapture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Axisus
Level: Powered On

Re: Error message when approving an approval flow with attachment

Hi @v-zhos-msft , apologies as mine is flow is quite long. Please see the screenshots below. It  was working fine but started to fail after I added the "absoluteURI" on the item link of the modern approval 

flow11.jpgflow12.jpgflow13.jpgflow14.jpg

 

 

v-zhos-msft
Level 10

Re: Error message when approving an approval flow with attachment

Hi @Axisus ,

I am afraid you need move the condition into the 'Apply to each 2' action.

Capture7.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Axisus
Level: Powered On

Re: Error message when approving an approval flow with attachment

Thanks that is working for me now Smiley Very Happy

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,590)