[jboss-user] [jBPM] - Re: Store variables in DB?

Esteban Aliverti do-not-reply at jboss.com
Wed Feb 1 03:38:32 EST 2012

Esteban Aliverti [https://community.jboss.org/people/eaa] created the discussion

"Re: Store variables in DB?"

To view the discussion, visit: https://community.jboss.org/message/649837#649837

Without further information, my guess is: If you are only using Syncrhonous Tasks, like the WorkItemHandler you shown us, then the process runtime information (including its variables) are never persisted. JBPM5 only stores the information needed to continue with the execution of a process. In your case (again, I'm guessing here since I don't know your complete process) the process runs in one shot: when the execution returns from ksession.startProcess("de.toni.new", params); the process is already finished.
Just for testing purposes try to configure an asynchronous WorkItemHandler to one of your Tasks to see if serialization happens.

Best Regards,

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120201/873bb78b/attachment-0001.html 

More information about the jboss-user mailing list