cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mshakya5
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
Hardesh15
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
Hardesh
Frequent Visitor

 
Hardesh15
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

v-litu-msft
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
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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Users online (2,558)