[jboss-user] [jBPM] - Re: How to suspend and resume a process?

sebb do-not-reply at jboss.com
Fri Jan 13 04:34:28 EST 2012

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

"Re: How to suspend and resume a process?"

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

Thanks for the quick reply  :) 

Yes, I needed the instanceId and the state of a processInstance. I think that will help.

Nevertheless I am quite disappointed about the first answer. We have a scenario where processes have different priorieties and relations (for example process A cant run while process B is active). Therefor it should be possible to suspend a whole process, so that a process with a higher priority can run. I guess most of the time it's a problem of the workitems. When a process is paused the workitems (long running async items) have to be paused too and that will also somehow suspend the process (like your second example). But what happens when the process should be paused just in the milliseconds between two nodes (not very common, but If there is a timer between two nodes it would be quite probable)? In this case there would be no workitem that i can suspend manually to suspend the whole process and that way the process would just go on after the timer stopped.

Any thoughts about my scenario? Can you think of other examples (like the timer) where an external pause/resume would not work?

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/20120113/c524467c/attachment.html 

More information about the jboss-user mailing list