[jboss-user] [jBPM] - Re: How to detect crashed process instance in jbpm 4.1 ?
Elisabeth Müller
do-not-reply at jboss.com
Thu Oct 13 04:12:05 EDT 2011
Elisabeth Müller [http://community.jboss.org/people/muellere] created the discussion
"Re: How to detect crashed process instance in jbpm 4.1 ?"
To view the discussion, visit: http://community.jboss.org/message/631512#631512
--------------------------------------------------------------
Hi Marco,
thanks for your answer ,but the problem is a little bit different.
The API works fine as long as the jbpm engine can treat the exception/error during crash and reflect this situation by updating the process instance status.
The problem is all about process recovery in case of server crash, e.g. the classical power outage.
If such an error happens, a process instance will recover in the last saved state. This means that you do not know, whether a transition to another node has been triggered already and you do not know which transition has been taken, if at all.
In this situation the API does not help, I think.
So potentially I have to implement a history of transistions in a transaction external to the hibernate session. That's the only workaround I can come up with.
Elisabeth
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/631512#631512]
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/20111013/26e2cfde/attachment.html
More information about the jboss-user
mailing list