Wednesday, November 2, 2016

Alfresco Share - How to hide workflow definition(s) from the Start Workflow page

The Start Workflow page has a dropdown list that allows you to select a workflow definition to start a workflow. The dropdown list includes the preconfigured workflows. If any custom workflows are defined then the custom workflow definitions are also included in the list. The following preconfigured workflows are available.

To hide workflow definition(s) from this dropdown list we need to add XML configuration to either the share-config-custom.xml file or your custom configuration file.

For example – If we want to hide all other available preconfigured workflow definitions except the “New Task” workflow definition then we would need to add the following configuration.

   <config evaluator="string-compare" condition="Workflow">
         <workflow name="activiti$activitiParallelGroupReview"/>
         <workflow name="activiti$activitiParallelReview"/>
         <workflow name="activiti$activitiReview"/>
         <workflow name="activiti$activitiReviewPooled"/>


No comments:

Post a Comment