cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Get file content not getting everything from Excel file on email attachment attachment

Hello,

I'm sort of a newbie with Power Automate. I'm creating a scheduled trigger that uses an excel table template to get items from SharePoint List Library to be sent out to managers as an email attachment. I'm using Nate's post to build my flow, almost identical to what he's doing. However, my excel attachment is only getting the 1st data row on the attachment while the template on the Document Library where the excel file is, has all the expected rows. Now sure what's wrong. Any help is much appreciated. 

image.png

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Continued Contributor
Continued Contributor

Re: Get file content not getting everything from Excel file on email attachment attachment

@mshakya5 

Use delay of 1 min before sending email.

Excel file takes time to refresh and save data. Flow executes within a second. Get file action only capture data till that time and send whatever it gets.

 

Thanks

Hardesh

View solution in original post

6 REPLIES 6
Highlighted
Frequent Visitor

Re: Get file content not getting everything from Excel file on email attachment attachment

 
Highlighted
Continued Contributor
Continued Contributor

Re: Get file content not getting everything from Excel file on email attachment attachment

@mshakya5 

Use delay of 1 min before sending email.

Excel file takes time to refresh and save data. Flow executes within a second. Get file action only capture data till that time and send whatever it gets.

 

Thanks

Hardesh

View solution in original post

Highlighted
Community Support
Community Support

Re: Get file content not getting everything from Excel file on email attachment attachment

Hi @mshakya5,

 

Could you please tell me more details about what are you doing on the two Apply to each action?Annotation 2020-05-25 105533.jpg

 

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

Highlighted
Regular Visitor

Re: Get file content not getting everything from Excel file on email attachment attachment

@Hardesh15: I added a delay of 60 sec right after "Get file content" before sending email attachment. It doesn't seem to work.

Highlighted
Continued Contributor
Continued Contributor

Re: Get file content not getting everything from Excel file on email attachment attachment

@mshakya5 

 

Please put delay before Get file content. Get file content action will wait at least one minute then fetch current state of data.

Try this and let me know.

Highlighted
Regular Visitor

Re: Get file content not getting everything from Excel file on email attachment attachment

Yes, that worked. Thank you for quick reply.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,234)