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

Approval flow doesnt work, i dont know why.

My flow looks like this:

 

  1. When a new email arrives (V2)
    1. has attachment
    2. include attachment
  2. create item (sharepoint)
  3. apply to each (attachment)
    1. condition -- Attachments ends with pdf or docx
      1. if yes:
        1. apply to each (attachments):
          1. Add attachment (Sharepoint)
        2. Start and wait for an approval
        3. Condition 2
          1. If yes: send email (v2) " the thing has been approved "
          2. if no: send email (v2) " the thing has not been approved "
      2. if no:
        1. delete item (Sharepoint)
        2. send an email (v2) " the thing requires attachements! "

 

if I test it....

 

i keep getting the wrong approval responses and the errors are:

image.png

 

 

----

image.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
jbravo
Level: Powered On

Re: Approval flow doesnt work, i dont know why.

apologies folks! I solved my own issue.

 

My dumbass put attachment content under attachment name and vise versa.

View solution in original post

2 REPLIES 2
jbravo
Level: Powered On

Re: Approval flow doesnt work, i dont know why.

additionally,

 

the sharepoint list is created and the attachment is there.

so im not getting the "null" part

image.png

jbravo
Level: Powered On

Re: Approval flow doesnt work, i dont know why.

apologies folks! I solved my own issue.

 

My dumbass put attachment content under attachment name and vise versa.

View solution in original post

Helpful resources

Announcements
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,753)