cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
parvchana Advocate I
Advocate I

Trying to use REST API to Check In and Check Out a document in a library

Hello experts / @sergeluca 

 

I was able to achieve flow trigger when a document is checked in to a share point library from this post

but it is not working when I document is checked out, wondering if there is a trick for this as well.

 

When a document is checked out, it doesn't trigger the flow? Any advise, alternate solution?

 

I know there is already an idea for this but wondering if it is solved while waiting on solution from Flow team.

 

Thanks in advance,

Parv

1 REPLY 1
Highlighted
Super User
Super User

Re: Trying to use REST API to Check In and Check Out a document in a library

File check in/outs are not currently supported by the SharePoint connector, but it is currently a Planned feature on the product roadmap

Please see the Working with folders and files with REST SharePoint documentation and @Chakkaradeep's blog post, Working with the SharePoint Send HTTP Request flow action. You can query the CheckOut status via REST using a query such as:

api/web/GetFileByServerRelativeUrl('{everythingAfterTheDomainUpToTheFilename}/{filenameWithExtension}')/CheckOut()

Finally, the Plumsail SP connector is currently in Preview and offers checking in and checking out of documents with Flow. See their, How to check-in multiple SharePoint documents in Microsoft Flow and Azure Logic Apps blog post. As it is in preview, your mileage may vary.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,368)