SharePoint Online - Send document to repository
Use the SharePoint Online - Send document to repository action A tool for building the processes, logic, and direction within workflows. to send a document from a SharePoint Online document library to a repository in the SharePoint Online site.
For more information about the SharePoint Online connector, go to SharePoint Online.
Configure the SharePoint Online - Send document to repository action
The Content Organizer feature must be activated for the SharePoint Online site for the Send document to repository action to run successfully. If this feature is not activated the action will fail. When the Content Organizer feature is activated a document library named Drop Off Library is created and the documents you select to send to repository is sent to this document library.
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.
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
-
Select a SharePoint Online Connection. If you do not have a connection, see Add a connection
Only the connections created with the List and libraries authentication method are available in the drop-down list.
For more information about authentication methods for SharePoint Online connections, see Authentication methods for SharePoint Online connections.
- Select the Document library that has the document you want send to a repository.
- Add conditions to query and select the items to send.
- Set the Document limit.
- In the Action field, select whether to copy or move the document to the repository.
SharePoint Online - Send document to repository 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) |
SharePoint Online connection to connect to the SharePoint Online site containing the document library you want to checkout items from. To refresh the available connections, click . |
(n/a) | |
Source library |
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 Important:
The Content Organizer feature must be activated for the SharePoint Online site for the Send document to repository action to run successfully. If this feature is not activated the action will fail. When the Content Organizer feature is activated a document library named Drop Off Library is created and the documents you select to send to repository is sent to this document library. For more information about content organizer, see Configure the Content Organizer to route documents. Follow these steps to activate the Content Organizer feature for the SharePoint Online site
|
Text, Decimal, Integer, Boolean, DateTime, Collection |
Document library |
The document library that contains the document you want to send to a repository. When you specify the SharePoint Online site URL, all the document libraries in the selected site will be available to select from the drop-down list. |
Text, Decimal, Integer, Boolean, DateTime, Collection | |
Conditions | Add conditions/Edit conditions |
Add conditions to specify the items to send to the repository. All items that match the conditions will be sent to the selected repository. 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.
The Condition builder supports nested conditions, enabling you to create conditions within another condition. |
(n/a) |
Condition builder | When |
Displays the items from the Column field of the selected list. Note:
The following columns are not supported in the Condition builder:
|
Text, Decimal, Integer, Boolean, DateTime, Collection |
Operator |
How the item from the When drop-down and Value are compared. Select from the drop-down. The operators available in the drop-down depend on the data type of the item selected from the When drop-down. |
(n/a) | |
Value |
The value you are expecting in the column (field) specified for When. The data type of Value must match the data type of the item selected in the When drop-down. |
(varies) | |
Add |
Adds a new condition. When adding a new condition you have to select the level of the condition. Select Nested condition to nest the new condition within the condition above it. |
(n/a) | |
And/Or |
The connecting operator to use for the conditions. If you select: And: The workflow starts when the item that is added matches all the conditions. Or: The workflow starts when the item that is added matches any one of the conditions. |
(n/a) | |
Displays the following options menu for a condition. The following options are available:
|
(n/a) | ||
Include documents in sub folders | When selected, items within sub folders that match the conditions specified are also sent to repository. | (n/a) | |
Document limit |
The maximum number of documents that can be sent at a time. Maximum number of documents that can be sent is 5000. |
Integer | |
Action |
Specify whether to copy or move the document to the repository.
|
(n/a) | |
Output |
Result |
Store the result of the action in an object with the following variables:
|
Object |