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 parent folder name

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

Get parent folder name activity in the Virto Workflows for Office 365 designer

Parameters

ParameterDescriptionExample
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
VariableContains 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

Updated on August 12, 2026