[jboss-dev-forums] [jBPM Development] - Re: Pause a process instance
sebb
do-not-reply at jboss.com
Thu Feb 16 04:22:34 EST 2012
sebb [https://community.jboss.org/people/sebb] created the discussion
"Re: Pause a process instance"
To view the discussion, visit: https://community.jboss.org/message/717054#717054
--------------------------------------------------------------
You cant really pause a process instance like you may know it from bpel engines. I asked a smiliar question a while back and the solution was to create an AbstractWorkItem which holds a pause flag. This way you can pause your process instance by blocking the execution of all workitems when the pause flag is set. But it wont work with timers :/ Maybe I'll find my thread and can add further info to your paused/suspended state question, because it was explained there.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717054#717054]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120216/2a350d7e/attachment.html
More information about the jboss-dev-forums
mailing list