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
[
https://community.jboss.org/message/649837#649837]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]