SharePoint Online - Check in files

Use the SharePoint Online - Check in files action A tool for building the processes, logic, and direction within workflows. to check in files that have been checked out from a SharePoint Online document library. When a file or item is checked out by a user, it can't be edited by other users and must be checked in again to allow other users to edit the item. For more information about the SharePoint connector, see SharePoint Online.

Configure the SharePoint Online - Check in files action

Important: Before inserting variables in the action configuration, you must manually type or select the values and populate other dependent fields in order to retrieve the output data. Once configured, you can insert variables to the required fields.

  1. Open the action configuration panel. For more information, see Add an action.

  1. Select a Connection. If you do not have a connection, see Add a connection on the Connections page.

Note: Only the connections created with the List and libraries authentication method are available in the Connection drop-down list. For more information about authentication methods for SharePoint Online connections, see Authentication methods for SharePoint Online connections.

  1. Type a SharePoint site URL and click Retrieve libraries.
  2. Example: https://domain.sharepoint.com/sites/hr

  1. Select the Document library you want to check items into.
  2. Specify the maximum number of files to check in Check in file limit.
  3. Select a Check in version option.

SharePoint Online - Check in files action fields and settings

Important: Before inserting variables in the action configuration, you must manually type or select the values and populate other dependent fields in order to retrieve the output data. Once configured, you can insert variables to the required fields.

Section Field Description Variable types
(unlabeled) Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

SharePoint Online connection to connect to the SharePoint Online site containing the document library you want to check items into.

To refresh the available connections, click Refresh.

(n/a)
Source files SharePoint site URL

The URL of the SharePoint Online site containing the document library you want to use.

To retrieve the libraries for the SharePoint site URL, type the SharePoint site URL and click Retrieve libraries.

Example: https://domain.sharepoint.com/sites/hr

Text, Decimal, Integer, Boolean, DateTime, Collection
  Document library

The document library that has the files you want to check in.

When you specify the SharePoint Online site URL, all the document libraries in the selected site will be available to select from in the drop-down list.

Text, Decimal, Integer, Boolean, DateTime, Collection
Conditions Add conditions/Edit conditions

Add or edit conditions to specify the files to check in. Only the files that match the conditions set are checked in.

Note: For conditions involving columns with multiple values, you need to create conditions for each available value and select And or Or options accordingly.

Displays the condition builder to define new conditions or edit existing conditions.

  • Add conditions - Displayed when there are no existing conditions specified for the action.

  • Edit conditions - Displayed when there are existing conditions set for the action. You can edit the conditions.

The Condition builder supports nested conditions, enabling you to create conditions within another condition.

(n/a)
Condition builder  

For fields and settings, see Condition builder.

 
Output

Result

Stores the result of the action in an object with the following variables:

  • Outcome: Boolean variable to store the outcome of the action. Returns Yes if all of the specified files are checked in successfully. Returns No, even if one file check in fails.

Object