cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

@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
Frequent Visitor

 
Super User II
Super User II

@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

Community Support
Community Support

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.

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

@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.

Yes, that worked. Thank you for quick reply.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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!

Top Solution Authors
Users online (10,672)