4 Replies Latest reply on Jan 30, 2014 8:18 AM by marinav

    jBPM 6 Create own persistence

    marinav

      Hello Community,

       

      I am new to jBPM and try to integrate jBPM 6 in an existing CRM Application. To resume the processes after a server crash, I have to create a persistence mechanism. The CRM Application already has a persistence mechanism with spring and hibernate and I would like to use this mechanism to save the jBPM specific data. Moreover, I need to persist some extra data.

       

      My question now is: Is there a way to create your own persistence for jBPM and reload the session and resume the processes manually?

       

      Thank you very much

      Marina

        • 1. Re: jBPM 6 Create own persistence
          marinav

          Hello,

           

          To specify my question: Is it possible to trigger a special node in a process without executing the nodes before?

           

          How is it realised in the jBPM Persistence that the processes are resumed from the last wait state instead of restart the whole process?

           

          Thank you.

          Marina

          • 2. Re: jBPM 6 Create own persistence
            swiderski.maciej

            take a look at documentation regarding persistence. That will give you quite clear picture of what is stored, how and when.

             

            HTH

            1 of 1 people found this helpful
            • 3. Re: jBPM 6 Create own persistence
              swiderski.maciej

              you could use ad hoc processes that allows you to signal node that are not in structured flow - like standalone node or process fragments. See flexible processes section in the docs.

               

              HTH

              • 4. Re: jBPM 6 Create own persistence
                marinav

                Hi Maciej,

                 

                Thanks for your reply.

                 

                I read the documentation about the persistence and came to the conclusion, that it is too complex to implement an own persistence mechanism. You have to take care of too many things, like for example the parameters a process instance has, or the current node which is excetued. And it is really complex to restart a process at a special node.

                 

                If someone ever implemented an own persistence mechanism for jBPM, I would be interested in seeing your implementation.

                 

                For the moment i better try to use the already existing persistence by jBPM.

                 

                Greetings

                Marina