Contact us
View as Markdown
Ask AI

Open this page in an AI assistant with a ready-made prompt.

Opens a third-party service and shares a pre-filled prompt containing this public page URL, its product documentation URL and /llms.txt. No VirtoSoftware account or tenant data is included. Provider terms and privacy policies apply. Verify answers against the linked documentation.

OpenAI terms · OpenAI privacy policy · Anthropic terms · Anthropic privacy policy

Get List Items

This activity allows getting list items using Caml Query from any site. SharePoint Designer phrase

SharePoint Designer phrase for the Get List Items workflow activity in the Virto Workflow Activities Kit

Parameters

Output parameters

ParameterDescriptionExample
ItemsThe dictionary that representsthe itemsVariable:Items
Item CountThe number of items in thedictionaryVariable:Count

Input parameters

ParameterDescriptionExample
List identifierList for querying. The value could be list name, list base template, guid (not supported with multiple sites) or list URL (The web site relative URL). ). If the value field is empty, current list will beused.Documents[%Workflow Context: List ID %] 107/Lists/Tasks
Caml QueryCAML query that will be run<View Scope='RecursiveAll'><Query><Where><Contains><FieldRef Name='FileLeafRef' /><Value Type='File'> .docx </Value></Contains></Where>
<OrderBy><FieldRef Name='ID' /></OrderBy></Query><ViewFields><FieldRef Name='FileLeafRef' /><FieldRef Name='FileRef' /></ViewFields><RowLimit>10</RowLimit></View>
Folder PathThe web site relative URL of a list folder from whichresults will be returned/Lists/ListName/Folder1/SubFolder
Site URLsThe URLs of a SharePoint sites (semicolon delimited). If the valuefield is empty, current site will be used.https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]subSite

Example

Example of the Get List Items activity with a CAML query configured in a SharePoint Designer workflow

Updated on August 12, 2026