cancel
Showing results for 
Search instead for 
Did you mean: 

Hide all out of the box workflows in alfresco share

Isha
Champ in-the-making
Champ in-the-making

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>

1 ACCEPTED ANSWER

kintu_barot
Star Collaborator
Star Collaborator

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.

Regards,
Kintu

View answer in original post

2 REPLIES 2

kintu_barot
Star Collaborator
Star Collaborator

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.

Regards,
Kintu

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Isha,

Thanks for accepting the solution - really helpful to other users.

Thanks @kintu_barot for providing this solution,

Cheers, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!