Menu
Office 365 Workflows for SharePoint Designer 2013

Get parent folder name

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

Parameters

Parameter Description Example
Current list item (optional) List item ID which parent folder name you want to get. Default value is current workflow 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 be used. 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