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

Copy Attachment based on OData filter

Hello!

I'm working on a flow to read a data set with manually set dates, one for each day for the next 2 years.  I have both a list and document library, tried both with similar results.  I'm trying to copy the image when the date matches today's date.  Below are the steps I've built so far, but I'm getting an error that the file can't be verified, even though I can click on the link in the error and it takes me right to the correct image file.  

 

I feel like I'm close with this one, but either not passing the correct query or am grabbing the wrong file.  Any help or pointers is greatly appreciated.  

 

Current flow and errors

1. Recurrance - Run every day at midnight

2. Grab the current date/time

3. Connect to root site, filter based on custom date column.  Format date time expression is: 

formatDateTime(body('Current_time'),'MM-dd-yyyy')
1-3.PNG
 
4.  Copy the file that was filtered out from step 3 into the Shared Document folder.  
 

 

4.PNG
 
Thank you
Kevin

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @kjwolf326 ,

 

It seems that you want to copy the attachments contained in the list item to the library. You can refer to the following configuration to achieve this requirement.

41.PNG42.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.

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @kjwolf326 ,

 

It seems that you want to copy the attachments contained in the list item to the library. You can refer to the following configuration to achieve this requirement.

41.PNG42.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.

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 (68,254)