[jboss-user] [jBPM Users] - Re: Advice regarding complex proccess modeling

saraswati.santanu do-not-reply at jboss.com
Fri Nov 6 04:26:49 EST 2009

  did you consider using Assignment handler? 

  If you implement "Read Document" as a task node and add an assignment handler to it, which can execute whatever business logic it needs to, to decide whether X, Y or Z or all of them or none of them can do "Read" task.

  | ...
  | <task name="read" >
  |   <assignment-handler class="org.jbpm.examples.ReadAssignTask">
  |   </assignment-handler>
  |   <transition to="decide" />
  | </task>
  | <decision name="decide">
  |   <handler class="org.jbpm.examples.DecideWhatToDo" />
  |   <transition name="read again" to="read" />
  |   <transition name="read done" to="next node" />
  | </decision>
  | ...

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

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

More information about the jboss-user mailing list