cancel
Showing results for 
Search instead for 
Did you mean: 

Remove the predefined alfresco workflows name

nkalra1
Champ in-the-making
Champ in-the-making
i want to remove all the alfresco workflow from the start workflow drop down.from where i can do that


Thanks in advance
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
1. Log in to Alfresco Explorer as an Administrator
2. Go to the workflow console.
3. Type "show definitions all" and click submit. You should see something like:

id: activiti$activitiAdhoc:1:4 , name: activiti$activitiAdhoc , title: Adhoc Workflow , version: 1
id: activiti$activitiInvitationModerated:1:23 , name: activiti$activitiInvitationModerated , title: Invitation - Moderated , version: 1
id: activiti$activitiInvitationNominated:1:26 , name: activiti$activitiInvitationNominated , title: Site Invitation - Nominated , version: 1
id: activiti$activitiParallelGroupReview:1:20 , name: activiti$activitiParallelGroupReview , title: Group Review And Approve , version: 1
id: activiti$activitiParallelReview:1:16 , name: activiti$activitiParallelReview , title: Parallel Review And Approve , version: 1
id: activiti$activitiReview:1:8 , name: activiti$activitiReview , title: Review And Approve , version: 1
id: activiti$activitiReviewPooled:1:12 , name: activiti$activitiReviewPooled , title: Pooled Review And Approve , version: 1
id: activiti$publishWebContent:1:29 , name: activiti$publishWebContent , title: Publish Web Content Activiti Process , version: 1
4. For each name in the list, type "undeploy definition name [NAME]" where "[NAME]" is one of the names in the list, like "activiti$activitiAdhoc".

Jeff

dheverly
Champ in-the-making
Champ in-the-making
If you use the workflow console, it will undeploy. However, if you restart alfresco, it will then add them back.

You have to modify the bootstrap-context.xml in alfresco\WEB-INF\classes\alfresco to remove them for good.

Look for the workflowBootstrap bean, comment out the workflows that you don't want and restart alfresco.

    <bean id="workflowBootstrap" parent="workflowDeployer">
        <property name="workflowDefinitions">
            <list>
….

mrogers
Star Contributor
Star Contributor
I've got a dim memory of adding spring configuration so you can hide some workflow names from the UI.   So you can still have them defined and working,  but not start them from explorer.

That could be another approach.