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

Does item exist in document library

This activity checks if an item exists in a document library.

Does item exist in document library activity in the Virto Workflows for Office 365 designer

Parameters

Input parameters

ParameterDescriptionExample
Current item (optional)Item id which existence you want to check. If value is empty, the current item ID library from workflow context will be used.5, [%Variable:ItemID%], Current Item:ID
Current document library (optional)Document library id (guid) or title which item existence you want to check. If value is empty, the current document library from workflow context will be used./sites/my site/Documents/Subfolder 1/Subfolder2; /Root Documents Library
Document library [with folder]Destination URL. Relative URL of document library [with folder]./sites/my site/Documents/Subfolder 1/Subfolder2; /Root DocumentsLibrary
VariableVariable (set by this activity). Contains true if item exists in destinationlibrary.
Site URL (optional)The URLs of a SharePoint site where you want to check a document library for an item.https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]subSite

Example

Example of the Does item exist in document library activity configured in a SharePoint workflow

Updated on August 12, 2026