cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Sending a weekly file from a SharePoint list

Hey all,

 

So I am attempting to send a weekly file that includes the items in a SharePoint List.  I found a flow of the week blog that proivdes some instructions but I'm runnning into some issues.  https://flow.microsoft.com/en-us/blog/automate-sending-weekly-reports/

 

 

When I test my flow, it effectively runs forever.  The flow does not fail instead, it just continues to run and I can't figure out why this is the case.  My flow is able to create the file based on the HTML table, but the next action is when a file is created to share link by path the flow just runs at this action forever.  The flow never generates an error, isntead it just constantly runs...

 

Any help would be appreciated.

 

 

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @Anonymous,

 

Could you please share a screenshot of your flow's configuration?

 

I have made a test on my side based on the article that you provided and the issue is confirmed on my side. But you could consider take a try with the following workaround as an alternative solution:

  • Add a Recurrence trigger, Interval set to 1 and Frequency set to Day.
  • Add a Compose action, Inputs field set to following formula:
utcNow()
  • Add a "Get items" action, specify Site Address and List Name.
  • Add a "Create HTML table" action, From set to output of "Get items" action, Include Headers set to Yes and Columns set to Custom. Within Header-Value map entry, type the following entries:8.JPG

     

  • Add a Parallel branch action. Within left branch, add a "Create file" action, specify Folder Path. File Name set to Tweets.doc and File Content set to output of "Create HTML table" action.

         Within right branch, add a "When a file is created" trigger of OneDrive for Business connector, Folder field set to the folder that you specified within "Create file" action (left branch). Add a "Create share link by path" action, File Path field set to File path dynamic content of the "When a file is created" trigger, Link type set to Direct and Link scope set to Organization. Then add a "Send an email" action, Body field set to Web URL Dynamic content of the "Create share link by path" action.

 

Image reference:9.JPG

 

10.JPG

The flow works successfully as below:11.JPG

 

12.JPG

 

More details about adding parallel branch action, please check the following article:

https://flow.microsoft.com/en-us/blog/parallel-actions/

 

 

Best regards,

Kris

 

 

Community Support Team _ Kris Dai
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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (80,375)