cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smorley
Helper V
Helper V

Add attachment to a SharePoint list not working in Power Automate

Definitely feels like a Monday.

 

I have a library called Finances, and a list called Employees.

 

Certain files need to be copied to the list.  When the customer selects Yes in the field called "Copy file to Employee" the flow begins.

 

CopyAttachmenttoEmployeeslist.jpg

I haven't done this type before, but when I run the flow, the details look correct for Get File Content and Get Attachment Content.

 

I have an OData filter in the Get Items step that retrieves the name of the employee that matches the name of the employee in the library.  They are both People/Group fields.  The Get Items step works fine.

 

getitemswithfilter.jpg

 

The branch of the True condition looks like this:

 

Addattachment.jpg

Here is the result of the flow.  The Add Attachment step does not get reached.

Addattachmentnotreached.jpg

Any help, as always, would be appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
smorley
Helper V
Helper V

fitlerqueryworking.jpg

Got my Odata Filter syntax working!

View solution in original post

2 REPLIES 2
smorley
Helper V
Helper V

fitlerqueryworking.jpg

Got my Odata Filter syntax working!

View solution in original post

Hi,

 

Thanks for your follow up! I am glad that you were able to get this working on your side. Hopefully this will prove useful for future communities users who are having similar issues as this.

 

Regards,

 

Alex

 

-------

 

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (23,157)