0 Replies Latest reply on May 2, 2008 11:53 PM by Kamlesh Kumar

    Saving ProcessInstance when JBoss is shutdown

    Kamlesh Kumar Newbie


      I have a web application which instantiates a workflow, i am closing the jbpmContext in the finally block. But the problem is when workflow is running and JBoss is shutdown at that time, the processInstance is not save as the code does not return to the finally block. But when i tried to start the workflow from jbpm-console application, the processInstance is saved even after JBoss is closed.
      Please tell me how to make sure that the processInstance is saved before JBoss is shutdown.