# Does item exist in document library

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/list-processing/does-item-exist-in-document-library/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/list-processing/does-item-exist-in-document-library/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


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](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/does_item_exist_in_document_library_1.png)

## **Parameters**

Input parameters


| Parameter | Description | Example |
|---|---|---|
| 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 |
| Variable | Variable (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](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/does_item_exist_in_document_library_2-1024x126.png)
