# Get parent folder name

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/list-processing/get-parent-folder-name/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/list-processing/get-parent-folder-name/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


This activity returns name of the parent folder of an item.

![Get parent folder name activity in the Virto Workflows for Office 365 designer](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_parent_folder_name_1.jpg)

Parameters


| Parameter | Description | Example |
|---|---|---|
| Current list item (optional) | List item ID which parent folder name you want to get. Default value is currentworkflow context list item ID. | [%Current item: ID%] |
| Current list (optional) | List ID (guid) or name where you want to get parent folder name of list item. Default value is current workflow context list. | [%Workflow Context: List ID%] |
| Site URL(optional) | The URLs of a SharePoint site where you want to get parent folder name of list item. If the value field is empty, current site will beused. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]subSite |
| Variable | Contains folder name of list item. If item is located in root list folder empty string is returned. |  |


Example

![Example of the Get parent folder name activity configured in a SharePoint workflow](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_parent_folder_name_2.png)
