cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (43,643)