cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MartinC78
New Member

Checkin issue when trying to create multiple files on Sharepoint

Hi,

 

I created a Power automate flow that scan a shared inbox and when an email with PDF documents comes in as an attachment, the flow creates a copy of document on Sharepoint and checks it in.

 

The flow works as expected 9 times out of 10.  When it fails, I get this error message:  "The file \"https://test.sharepoint.com/sites/2.pdf\ " is not checked out.  You must first check out this document before making change"

 
The problem seems to happen when an email arrives with multiple PDF documents attached.  There seems to be a synchronization issue where Power automate tries to create a 2nd file before the previous one is checked in.  I would want Power automate to wait until the every checkin is completed before trying to create the next file.
 
Any assistance would be appreciated. 
 
1 REPLY 1
VJR
Super User
Super User

Hi @MartinC78 

 

I hope you get an answer from someone who was able to achieve this. This may not be your expected answer but if that's possible in your case consider turning off require checkout feature in sharepoint itself.

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,311)