0 Replies Latest reply on Feb 14, 2011 5:11 AM by magir

    How to "roll back" to previous version of process definitions?

    magir Newbie

      Hi,

       

      I'm trying to describe a rollback process for one of our systems. After deploying new process definitions, new workflows are created using these new definitions, if now the need arrives to roll back to the previous version I'd like to let existing workflows finish in their original version but new workflows shall be created using the old definition. What is the easiest way to accomplish this?

       

      At least in JBPM 3.2, which we're still using JbpmContext.newProcessInstance(...) only returns the most recent definition of the processes. Rolling back the workflow definition database is not an option as existing workflows may already use the newer version.

       

      Did I miss something? Of course I can re-deploy the old definition as a newer version but that's a rather strange method of reverting to an old version :-).

       

      Regards,

      Martin