How To Attach The Folder Url When Item Is Changed In Workflow Sharepoint 2013

SharePoint 2013 workflows offer a range of options for attaching the folder URL when an item is changed, allowing for greater customization and flexibility in your SharePoint utility.

When working with SharePoint 2013 workflows, it is important to understand the different techniques available to attach the folder URL when an item is changed. By utilizing these techniques, you can enhance the functionality of your workflows and streamline your processes.

One approach is to create a SharePoint 2010 workflow instead of a 2013 workflow. By doing so, you can use the “If Current item: Document Parent Identifier equals” condition to check if the item is created in the top-level or root folder. This method provides a straightforward way to determine if the item belongs to a folder.

Another technique involves using the Encoded Absolute URL of the created item. By checking the URL for the absence of extensions and being in the root of the list, you can identify if the item is a folder. This allows you to attach the folder URL and perform specific actions based on the item type.

Manipulating URLs with query strings can also be a useful method to perform different actions in SharePoint 2013 workflows. By adding specific query strings to the URL, you can put pages into Edit mode, Maintenance mode, or even filter and sort lists or libraries. This level of customization empowers you to tailor the folder URL attachment to your exact workflow requirements.

By exploring these techniques, you can enhance your SharePoint 2013 workflows and optimize the way you attach the folder URL when an item is changed. With greater customization and flexibility, you can streamline your processes and improve the overall efficiency of your SharePoint utility.

Techniques for Attaching Folder URL in SharePoint 2013 Workflows

There are multiple techniques available for attaching the folder URL when an item is changed in SharePoint 2013 workflows, each offering its own advantages and possibilities for customization.

One approach is to create a SharePoint 2010 workflow instead of a 2013 workflow. In the 2010 workflow, you can use the “If Current item: Document Parent Identifier equals” condition to check if the item is created in the top-level or root folder. This allows you to determine whether the item is a folder or not, and take appropriate actions based on this information.

Another method involves using the Encoded Absolute URL of the created item. By checking the URL for the absence of extensions and being in the root of the list, you can determine if the item is a folder. This technique provides a reliable way to identify folders within the workflow and attach the necessary folder URL.

In addition to these techniques, you can manipulate the URL by adding query strings to perform various actions. For example, by adding “?Mode=Edit” to the URL, you can put a Modern SharePoint page into Edit mode. Similarly, adding “?maintenancemode=true” to the URL can enable Maintenance mode for diagnosing issues.

Furthermore, you can use query strings to filter and sort lists or libraries. By adding “?sortField=ColumnName&isAscending=true” to the URL, you can specify the column to sort by and whether the sort order is ascending or descending. This allows for greater flexibility and customization options within SharePoint 2013 workflows.

Meet the Author

Abdul Rahim has been working in Information Technology for over two decades. Learn how Abdul got his start as a Tech Blogger , and why he decided to start this Software blog. If you want to send Abdul a quick message, then visit his contact page here.