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

unable to get the attachments in flow approvals.

Hi,

 

I am trying to attach the attachments from sharepoint to flow apporval.

i failed it in every way i tried.

 

kindly help Plz.004.JPG003.JPG002.JPG001.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Hey, i found the solution. we need to append the JSON file.

 

for approvals  it should be

{

"Name": <name of the attachment> from dynamic expression

"Content": body('Get_attachment_content').$content

}

 

for email attachments it should be

{

"Name": <name of the attachment> from dynamic expression

"Contentbytes": body('Get_attachment_content').$content

}

 

it work flawless.

 

View solution in original post

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @Ishtiaq_zamil ,

 

You could refer to the following configuration:

33.PNG34.PNG35.PNG

 

Best Regards,

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

Thats exactly what i did. But it is not working.

 

Any other option?

Hey, i found the solution. we need to append the JSON file.

 

for approvals  it should be

{

"Name": <name of the attachment> from dynamic expression

"Content": body('Get_attachment_content').$content

}

 

for email attachments it should be

{

"Name": <name of the attachment> from dynamic expression

"Contentbytes": body('Get_attachment_content').$content

}

 

it work flawless.

 

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.

Users online (37,579)