Get parent folder ID (Free)
This activity returns the list item ID of the parent folder of an item.

SharePoint Workflow Designer Phrase#
Get parent folder ID from this item and store in variable.
Parameters#
| Parameter | Description |
| this item | The current item |
If the parent folder is the root, the activity returns 0.