I have a flow which takes a document in a mail and saves it in a folder based on the document name. Everything works great, but the doucument is check-out. I want to add an action that checks in the docvument after creation ...how do i do that ?
Hi @ JesperTorp,
Do you want to check in the a file in sharepoint library using microsoft flow?
Checking in/out a file in sharepoint library is not supported in microsoft flow currently,
I afraid that there is no way to achieve your needs in Microsoft Flow currently.
If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
Use Send HTTP request to SharePoint then you can checkin and out
In my Flow i update a document library with the URL to which tenant i have copied files, so i do filtering on what is needed to be updated, then i Check out on all the files, update and so on and check in as last step, the reason is in my case Flow can update 1 property 3 times in same flow.
And the variables is going to be deleted in my flow, so disregard them its only the value in them there is interesting:
Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify! Thank you for being an active member of the Flow Community!
Flow Community Manager
Before going to flow, one conern when your file is created in the library,
it seems its get checked out by the flow user(modified by and created by).
It means in your library settings there is a file checked out rule there.
If not checked out required, why we don't remove that rule?
To me rule is here: Library-->Library Settings-->Versioning Settings-->Require Check Out (Yes/No)
If you select No, your document will not be checked out.
@makp , I've tired your recommendation but keep getting an error when trying to check out the document that says:
I figured it out. I needed to add more of the url. So this is what I changed the relative url to and it worked.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Fill out a quick form to claim your user group badge now!
Learn how to build the business apps that you need
Find out where you can attend!
Watch & learn from the Flow Community Video Gallery!