[jboss-user] [jBPM] - Variables from ended process ...

Charles Aznavour do-not-reply at jboss.com
Fri Aug 27 05:22:41 EDT 2010


Charles Aznavour [http://community.jboss.org/people/charles_a] replied to the discussion

"Variables from ended process ..."

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

--------------------------------------------------------------
Hi HuiSheng,

I´ve come back to this and tested it again. What Jaber is saying is correct. I can read back the history variables after the transaction. But why is it like that? In my understanding, when terminating a process, everything concerning history should be written to the db and after that we should be able to read it back - in the same transaction of course. As long as we´re in the same transaction everything should be readable even without a commit, shouldn´t it? Why is there the need to end the transaction?

Currently, we´re only stuck with that issue in our tests. But I can image reasonable real world scenarios, where such a constellation could happen. For example, you´ve written a framework around your workflows that checks after each processing step if the concerned process has ended, if yes, read some specific history variable and add it to a statistics table. Just as an example. Here, you would also like to do all in one transaction... and most probably also run into this issue.

Any feedback how to deal with it is really appreciated!

Cheers,
Charles

--------------------------------------------------------------

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

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/20100827/3048679c/attachment.html 


More information about the jboss-user mailing list