[jboss-user] [jBPM] - Re: Signal a wait state and suspend related running subprocesses

Michael Wohlfart do-not-reply at jboss.com
Wed Sep 29 07:19:03 EDT 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion

"Re: Signal a wait state and suspend related running subprocesses"

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

--------------------------------------------------------------
Hi Stefano,

this is from the userguide:
> If an execution is locked, methods that change the execution will      throw a PvmException and the message will reference the actual locking state. [...]
> An execution implementation will be locked: 
> * When it is ended
> * When it is suspended
> * During asynchronous continuations
> 
The behaviour you describe seems to be intended.

Maybe what you can try to model your usecase is not suspend the process instance or it's sub processes but move to a wait state with an escalation trigger that will fire when the "suspend" time is over. This way the process is not locked.
--------------------------------------------------------------

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

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/20100929/a16d53fb/attachment-0001.html 


More information about the jboss-user mailing list