[jboss-user] [JBoss jBPM] - Re: Ad-hoc one of workflow piece

pjacobsen do-not-reply at jboss.com
Wed Jan 21 19:30:54 EST 2009

Ronald.... thanks for the reply & I gotcha on the terminology.  

I had seen the milestone pattern before but I'm not sure if that meets my need?  I don't really know when & where in the process definition the user will need to essentially pause the current execution.... perform some arbitrarily complex one-off process... and then return execution to their originally definition afterward.   I think the disconnect for me is that my one-off process will not be defined in the original process or the flow.

For this process definition:
start --> task 1 --> task 2 --> node 3 --> task 4 --> end

We normally expect for the process instance to be just that.  But on some occasions users need to be able to define any process that needs to be executed during only one particular instance of the process definition above.  For example... while our token in on task 1.... they might say i need the following to execute after node 3 completes but before task 4 starts:
task x --> node y --> task z 
making the execution:
start --> task 1 --> task 2 --> node 3 --> (execute sub process above then return) -- > task 4 --> end

or maybe for another instance they need the following to execute after task 1 completes but before task 2 starts:
task m --> task n --> node o --> node p 
making the execution
start --> task 1 --> (execute sub process above then return) -- > task 2 --> node 3 -->  task 4 --> end

Ultimately my problem is that not only is in not part of the flow... but really it's not a part of the definition either.  It's a one-off process definition that needs to be executed at some point in a process instance (essentially pausing it... and then letting it continue after completion).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203821#4203821

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203821

More information about the jboss-user mailing list