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
[https://community.jboss.org/message/646640#646640]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to