SharePoint on-premises - Retrieve an item
Use the SharePoint on-premises - Retrieve an item action A tool for building the processes, logic, and direction within workflows. to retrieve a specified item from a SharePoint on-premises list.
For more information about the SharePoint on-premises connector, go to SharePoint on-premises.
Configure the SharePoint on-premises - Retrieve an item action
The steps required to configure the action are given below. The SharePoint on-premises - Retrieve an item action fields and settings table describes all the required and optional configuration 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 Connection. If you do not have a connection, see Add a connection. Note:
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.
- Type the SharePoint site URL that has the list with the list item you want to copy and click Retrieve lists. If you are retrieving the lists for a SharePoint subsite, type the URL of the subsite in the configuration. Parent sites do not automatically see all lists in child sites.
- Select the List name that you want to retrieve an item from.
- Specify the Item ID of the item you want to copy. For information about how to get the Item ID, see Item ID.
Example: https://domain.sharepoint.com/sites/hr
All the lists in the specified site are displayed in the List name field drop-down list.
Caution: Querying and retrieving items from lists that contain 12 or more columns of the type - People, Lookup, or Managed Metadata, can cause a list view threshold error.
SharePoint on-premises - Retrieve an item 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 on-premises connection to access the SharePoint on-premises site to use for the action. To refresh the available connections, click . |
(n/a) | |
Source item |
SharePoint site URL |
The URL of the SharePoint on-premises site that has the list or document library you want to use. To retrieve the lists for the SharePoint site URL, type the SharePoint site URL and click Retrieve lists. If you are retrieving the lists for a SharePoint subsite, type the URL of the subsite in the configuration. Parent sites do not automatically see all lists in child sites. Example: https://domain.com/sites/hr |
Text, Decimal, Integer, Boolean, DateTime, Collection |
List name |
The list that has the item you want to retrieve. The lists and document libraries within the site specified in SharePoint site URL are displayed in the drop-down list. |
Text, Decimal, Integer, Boolean, DateTime, Collection |
|
Item ID |
The ID of the list item you want to retrieve. How do I get the list item ID from the SharePoint on-premises list?
|
Integer | |
Output | Result |
Store the result of the action in an object that has all the columns in the selected SharePoint list. Note:
If the selected list has Lookup type columns with secondary columns, the secondary columns will be available as String (Text) data type variables in the output object. What are secondary columns in Lookup type columns?
In the Column settings for a Lookup type column, fields selected in the Add a column to show each of these additional fields section are secondary lookup columns. For more information, see Lookup columns. |
Object |