Hi guys,
You know if it´s posible implement a document approval workflow only in one folder of the document library?
Thanks in advance.
If possible, you might rely on a custom content type rather than a folder. If you did so, then you could associate an approval workflow with your custom content type. Your views could group or filter items by content type and other metadata which may eliminate the need for folders.
I don’t think there’s no out-of-the box configuration that allows you to disable workflows item menu just for folders. We’ll have to create a custom ScriptLink action.
http://platinumdogs.me/2013/04/18/hiding-sharepoint-ecb-menu-items-for-a-specific-list/
The other option is to have a check within the workflow for the content type of the item and terminate it.
Thanks guys! and if I like to hide the custom action that initiate the document approval workflow for other folders?
You can add Document Set content type to the library and run the approval workflow against the document set.
You can’t configure the out of the box approval workflow to run on a single folder. However, you can create a custom Designer workflow that references the path/folder and takes action as appropriate. You might even use a copy of the out of the box approval workflow as a starting point.