[jboss-user] [jBPM] - processinstanceinfo blob field is not getting updated with up to date processinstance information at save point.

malabalu do-not-reply at jboss.com
Mon Jul 30 18:03:08 EDT 2012

malabalu [https://community.jboss.org/people/malabalu] created the discussion

"processinstanceinfo blob field is not getting updated with up to date processinstance information at save point."

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

We are using jbpm5.2 with open jpa. When we start the process, it is adding the processinstance to the processinstanceinfo and store the lob with state as inactive. In jbpm code, the process is getting set active after the internalstart of the process and then it executes 2 of the nodes and waiting for external event. But when the transaction commits, I see only the initial data getting stored into db with state inactive and so for the signal event, it is reconstructing the process with state inactive and nothing happens.

my questions are:

how do I make sure the processinstanceinfo blob is having up to date info on the process until the save point when the transaction commits and wait for external signal.

when I look at the update() method on processinstanceinfo class, it is having preUpdate() annotation but it doesnt appear to work otherwise the blob should have been updated as expected.

also in jbpm, after the internal start, the processinstance variable is getting updated which is declared as transient in processinstanceinfo class.Is this the problem that it is not updating the processinstanceinfo entity before it persist to the db.

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/20120730/a583015d/attachment.html 

More information about the jboss-user mailing list