cancel
Showing results for 
Search instead for 
Did you mean: 

delete workflow

fabio
Champ in-the-making
Champ in-the-making
Hy all,
I'm new in this forum and i hope someone can help me.
This is my problem, I'd like to delete two deafult workflows taht i found in the  choose area (in the wizard).
I mean the 2 workflows:
- Review & Approve (Review & approval of content)
- Adhoc Task (Assign task to colleague).
I want delete them from the "Available list".

How can i do?
thanks for your response.
Hy Fabio
3 REPLIES 3

fabio
Champ in-the-making
Champ in-the-making
I have found the way to undeploy a workflow using the workflow console.
But… how can i undeploy definitively a workflow?
…also after tomcat restart?
Thanks

raweck
Champ on-the-rise
Champ on-the-rise
You can do it by workflow console:
http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp

Command:
"
    undeploy definition <workflowDefId>

    Undeploy the latest version of the workflow definition identified by
    <workflowDefId>.  This will also terminate and remove all "in-flight" workflows associated with the definition.
   
    If multiple versions of the definition exist, you will have to undeploy
    each in turn to remove the definition completely
.
"
In this way you can remove a version or all versions permanently.

rob562435
Champ in-the-making
Champ in-the-making
Not quite, next time you restart the Alfresco (Apache/TOmcat) server the workflow will be deployed again.
The only thing you can do to get rid of them always is by removing the deploy statements from the beans in the Alfresco installation. But if the Alfresco.war file is getting deployed again on start up this action will be reverted anyway. Please look into the WIKI for Workflow on where the beans are located and what you may do to override the loading of the default workflows.
Hope this helps, Rob