[jboss-user] [jBPM] - jBPM5 Persistance issue creating multiple human task

shashi mhatre do-not-reply at jboss.com
Fri Jan 14 00:52:52 EST 2011


shashi mhatre [http://community.jboss.org/people/khalipili] created the discussion

"jBPM5 Persistance issue creating multiple human task"

To view the discussion, visit: http://community.jboss.org/message/580756#580756

--------------------------------------------------------------
I have created a simple workflow, it contains first 2 action event, 1 rule task then a human task and again an action task. I have configure JBPM to persist the session/process in mysql. now when i start the process everything works file till human task. jbpm persist the process, signal to task service and wait for response from task service. i am able to view the human task in jbpm console too.

now i closed my current running program/process; as this process has already initiated human task, transaction manager has persisted the state in DB. if i view in the mysql db, i am getting only one task and one entry in "eventtypes" table (Entry for ruleflow - this event has already completed before human task - not quite sure why its still there). 

Later I restarted the process; process started successfully and processed till human task. Now if we look into jbpm console for human task,it shows 3 (three) human task 1) 1 from current process and 2) 2 from prior process which i closed abruptly.

As my first process runtime was already persisted and human task was created for same, why jbpm is creating human task again.  

i think due to eventytype entry of ruleflow task, which was already completed and not removed by jbpm session. jbpm session is putting duplicate entry in workitems table. this seems to be an issue in jbpm process persistence.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/580756#580756]

Start a new discussion in jBPM at Community
[http://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/20110114/08ec4579/attachment.html 


More information about the jboss-user mailing list