cancel
Showing results for 
Search instead for 
Did you mean: 

How To Removing Workflows Completely?

hyperation
Champ on-the-rise
Champ on-the-rise
Hi Everyone,

I am wondering if there is a way to remove all the workflows (definition, in-flight, tasks, etc) at once in the repository?

The reason I am asking is that, I inadvertently deployed a workflow with the wrong namespace into the database.  I removed the definition and the model but it seems that the workflow with the wrong namespace is stuck in the database.  When I try to access "any" in the workflow console I would get the error:

"org.springframework.orm.hibernate3.HibernateSystemException: null index column for collection: org.jbpm.graph.def.ProcessDefinition.definitions; nested exception is org.hibernate.HibernateException: null index column for collection: org.jbpm.graph.def.ProcessDefinition.definitions"

Besides killing the database and start anew, is there any thing else I can do to fix this "database corruption" (if you want to call it that Smiley Sad ).

Any suggestions or comments are appreciated.

Thanks
Smiley Happy
1 REPLY 1

zaizi
Champ in-the-making
Champ in-the-making
You can delete workflows on the workflow console: http://wiki.alfresco.com/wiki/Workflow_Console

Ainga