1 Reply Latest reply on Mar 5, 2015 2:09 AM by Maciej Swiderski

    jBPM6 and process recovery help

    kumar gaurav Newbie

      Hi All,

       

      I want to simulate system crash in  middle of process execution, so that I can test the process recovery scenario.

       

      While executing a process, I shutdown the jvm and I saw there was an entry in ProcessInstanceInfo table.

       

      My question is how can i recover this process and resume it as I am not able to figure out ksession related concepts.

       

      Please validate whether my approach is correct or not and then clarify ksession related issue.

        • 1. Re: jBPM6 and process recovery help
          Maciej Swiderski Master

          process execution is always based on some sort of trigger - start process, signal process complete human task, etc. So if you interrupt such execution you need to retrigger it again. Engine will simply rollback to last know state but there is nothing that will record all inflight execution and automatically retrigger them.

          Only component that supports this is jbpm executor for async jobs

           

          HTH