SP2010 workflows - Path syntax to add permissions to a sub-folder in a document library

I can create a workflow that uses the Create List Item action to creates a folder in a document library by using the Path and Name value with a string that includes the name. This works fine. I can then use an Impersonation Step with an Add List Item Permission action to add the permission I want using the Name variable and the same string format. This works fine.

I can also use the Create List Item action to create folder and subfolders by providing a suitable string like MyFolder/[%CurrentItem:Title%] for the Name and Path variable and the folder is created in the required location. However, if I try to use the Add List Item Permission action to set permissions on that sub-folder using the Path variable with the same string, I always get an error. There is obviously some problem with the Path string, but nothing I try seems to work.

Is there some 'special' format or syntax the Path string need to use to have the Add List Item Permission action find find a sub-folder? Is the path meant to be enclosed inside inverted commas or be proceeded with the /sitename/libraryname, or does it have to have a trailing forwards slash or something else? Why does the path string work for one action but not for another action?

September 11th, 2015 1:51am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics