Hide Workflow in Alfresco Share

To hide a workflow in alfresco share application, add the workflow name in the workflow configuration section in the share-config.xml file.

<!-- Workflow config section -->

     <config evaluator="string-compare" condition="Workflow">

          <!-- A list of workflow definitions that are NOT displayed in Share -->

          <hidden-workflows>

               <!-- Hide all WCM related workflows -->

               <workflow name="jbpm$wcmwf:*"/>

               <workflow name="jbpm$wf:articleapproval"/>

               <!-- Hide publishing workflows -->

               <workflow name="activiti$publishWebContent"/>

               <workflow name="jbpm$publishWebContent"/>

               <!-- Hide invitation workflows -->

               <workflow name="jbpm$inwf:invitation-nominated"/>

               <workflow name="jbpm$imwf:invitation-moderated"/>

               <workflow name="activiti$activitiInvitationModerated"/>

               <workflow name="activiti$activitiInvitationNominated"/>

              <workflow name="activiti$YOURWORKFLOWNAME"/>          

    </hidden-workflows>

          <!-- A list of workflow tasks that are NOT displayed in Share  -->

          <hidden-tasks>

               <!-- Hide all WCM related tasks -->

               <task type="wcmwf:*"/>          

    </hidden-tasks>     

  </config>

After doing this, restart your tomcat.


Now your workflow will not be displayed in the alfresco share workflow DropDown.

Ebook Download
View all
Learn
View all