Get parent folder name

⌘K

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

get_parent_folder_name_1

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

get_parent_folder_name_2

How can we help?