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

File System - Create File > Content Missing

Hi There, 

 

I am using File System - Create file to create a file on a local drive. Name and Content of the file come from a SharePoint file. Thereafter I'm moving the SharePoint file to a different folder.

 

Most of the time the files is created perfectly incl. name and content. However, sometimes the file is created with the name only the content  of the file is missing. I was wondering if someone else also had this issue. And moreover how and if this can be solved.

 

ThomasKick_2-1630504416558.png

Thanks. Thomas

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @ThomasKick ,

 

Hard to say but at 1 kb, i wouldnt have thought so.

 

Can you go to your trigger settings, enable concurrency control and set parallelism to 1. This will force the trigger to execute one by one.  See if you still get errors.

 

Screenshot_20210902-004939_Chrome.jpg

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

View solution in original post

5 REPLIES 5
eric-cheng
Solution Sage
Solution Sage

Hi @ThomasKick ,

 

With the ones that failed:

 

1. Does it work if you rerun the flow?

2. Do you create multiple files at the same time?  Is the data gateway overloaded?

3.  How big are the files?  There are size limits with the data gateway and file system connector

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

ThomasKick
Frequent Visitor

Hi @eric-cheng,

 

Thank you for your response.

 

1. Does it work if you rerun the flow?

** Unfortunately this is not possible because the flow is triggered 'when a file is created in a folder'. In the flow this file is moved to a different location. Retriggering it would fail because of a missing document.

2. Do you create multiple files at the same time?  Is the data gateway overloaded?

** The flow was indeed triggered 4 times at almost the same time when this issue occured. This means it was creating 4 files at the same time. Could this cause a gateway overload?

3.  How big are the files?  There are size limits with the data gateway and file system connector

** The files CSV files of only 1KB. I hope this does not exceed any limit:)

ThomasKick
Frequent Visitor

@eric-cheng while I was just thinking about point two you mentioned. Would you think that Concurrency control in the trigger settings might solve this isssue? Do you have any experience with this setting?

Hi @ThomasKick ,

 

Hard to say but at 1 kb, i wouldnt have thought so.

 

Can you go to your trigger settings, enable concurrency control and set parallelism to 1. This will force the trigger to execute one by one.  See if you still get errors.

 

Screenshot_20210902-004939_Chrome.jpg

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

ThomasKick
Frequent Visitor

@eric-cheng I will add that to the flow to see if this will solve the issue from happening. Thank you for the eye-opener.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,290)