06-29-2020 01:12 AM
Hi,
I want to hide al the out of the box workflows given by alfresco and only wanted to display the workflow that i have created (new custom workflow).
please suggest .Thanks.
I tried to hide it usinf below overriding config in share-config-custom ,but the issue is if i hide all the ootb workflows then it is not displaying my new created workflow.(Itrequires atleast one ootb workflows to be displayed then only it shows my workflow in dropdown.)
<config evaluator="string-compare" condition="Workflow" replace="true">
<!-- 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$activitiInvitationNominatedAddDirect"/>
<workflow name="activiti$resetPassword"/>
<workflow name="activiti$activitiReview"/>
<workflow name="activiti$activitiReviewPooled"/>
<workflow name="activiti$activitiParallelReview"/>
</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>
06-29-2020 02:56 AM
You can undeploy OOTB workflows from the workflow console.
You can use this if you don't want to use the OOTB workflow in your instance, however, there may be other solutions to hide the workflow from the share-extension but you can do this from workflow console only.
1 Open your workflow console from the following URL
http://localhost:8080/alfresco/s/admin/admin-workflowconsole
2 Type "show definitions all" to list all the deployed workflow
3 Type "undeploy definition name <workflowName>"
The workflow will be removed from the list.
06-29-2020 02:56 AM
You can undeploy OOTB workflows from the workflow console.
You can use this if you don't want to use the OOTB workflow in your instance, however, there may be other solutions to hide the workflow from the share-extension but you can do this from workflow console only.
1 Open your workflow console from the following URL
http://localhost:8080/alfresco/s/admin/admin-workflowconsole
2 Type "show definitions all" to list all the deployed workflow
3 Type "undeploy definition name <workflowName>"
The workflow will be removed from the list.
06-29-2020 11:07 AM
Hi @Isha,
Thanks for accepting the solution - really helpful to other users.
Thanks @kintu_barot for providing this solution,
Cheers,
Explore our Alfresco products with the links below. Use labels to filter content by product module.