AnsweredAssumed Answered

How To Removing Workflows Completely?

Question asked by hyperation on Jul 26, 2010
Latest reply on Jul 27, 2010 by zaizi
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 :( ).

Any suggestions or comments are appreciated.

Thanks
:)

Outcomes