cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbravo
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

additionally,

 

the sharepoint list is created and the attachment is there.

so im not getting the "null" part

image.png

jbravo
Frequent Visitor

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (37,527)