SharePoint Experts Blog

Use case: How to check-in multiple files via workflow in SharePoint Online (Office365)

Let’s imagine a situation where during a day people work with documents in SharePoint Document library. To work with some document user takes it to work and mark it as check out, but at the end of the day, every document should be checked-in back.

Below you can find an example of a small workflow which gets all documents in check-out status and does check-in for each one. 

SharePoint Check-in documents workflow

I used Get Item by Query workflow action with the following configuration: 

Get items by query - SharePoint workflow action

Please pay attention that I used “client.svc” endpoint to get the data and expand File property to get File/ServerRelativeUrl

To check-in a document I used Check-in Document workflow action.

To run the workflow each day you can use Workflow Scheduler

 

 

Posted in: Workflow Actions Pack