[jboss-user] [jBPM] - why the ProcessInstanceInfo is empty when i have started a task in JBPM5.3 ?
pichunhan pi
do-not-reply at jboss.com
Fri Dec 28 04:38:31 EST 2012
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion
"why the ProcessInstanceInfo is empty when i have started a task in JBPM5.3 ?"
To view the discussion, visit: https://community.jboss.org/message/785183#785183
--------------------------------------------------------------
In my project i have used the JBPM5.3, mysql,tomcat, spring and hibernate, and the entityManagerFactory was made by spring .
and when i started a process by using the StatefulKnowledgeSession's startProcess method, then these table (task;i18ntext;peopleassignments_bas;content;peopleassignments_exclowners;peopleassignments_recipients;peopleassignments_stakeholders; ) were persisted
but the ProcessInstanceInfo table was empty .
then i started another task ,and it was be OK ! but when i restarted the web server , the column processInstanceId in task table was restart from one , because of this ,i think the table ProcessInstanceInfo has some problem .
in my opinion , i think when i start a task , then ProcessInstanceInfo is also must be persisted in the db ,because the ProcessInstanceInfo in the memory is not safe , it must be persisted in the db.
there some code about my project , sorry for my english.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/785183#785183]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121228/dea07180/attachment.html
More information about the jboss-user
mailing list