AnsweredAssumed Answered

Hide 'Start Workflow' action in Share (5.0)

Question asked by mluraschi on Apr 29, 2015
Latest reply on May 21, 2018 by Jayesh Prajapati
Hello, I am trying to hide the "Start Workflow" action in share. The context is I would like to hide it for non-admin users and only for a specific sub-type of site I have created. I already have an evaluator for this.

So far, I only managed to successfully hide it from the "My Tasks" dashlet by extending its js and FTL. My problems start when I try to hide it from the multi-select toolbar in the documentLibrary and from the "Workflows" section (section?) in document-details (the little button beside the "Workflows" title of the section).

I've found some posts in this forum, but, for example, <a href=https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/how-disable-start-workflow>this</a> was the closest I got, but the guy wants to hide them completely. I tried to apply an evaluator to the actions, like I said in my reply, but it didn't work. <a href=https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/extending-selected-items-menu-share-10302012#comment-156504>This one</a>, instead, is about adding other elements to it. <a href=https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/multiselect-action-evaluator-08262014-0744#comment-156507>This</a> is the exact problem I have, but no one answered :(
Also, these account for the multi-selection toolbar, but I haven't found anything regarding the document-details button.

Can anyone help me, please?

Thank you very much

Massimo

Outcomes