[jboss-user] [jBPM Users] - How to model Rework senario in JBPM

pradeep.gulla do-not-reply at jboss.com
Thu Nov 5 05:02:12 EST 2009

I've created a workflow process, but I'm unable to proceed further.

1) Assign Parallel Tasks
2) Approval flow should go next level if all tasks gets completed
   A new task should be created if any of one parallel approver initiate rework

Process Definition:

  | <start><transition to="initiate-all-tasks"/></start>
  | <fork name="initiate-all-tasks"><transition to="parallel1"/><transition to="parallel2"/></fork>
  | <task name="parallel1">
  | <transition name="approve" to="join"/><transition name="rework" to="inactivate-tasks"/>
  | </task>
  | <task name="parallel2">
  | <transition name="approve" to="join"/><transition name="rework" to="inactivate-tasks"/>
  | </task>
  | <join name="join">
  | <transition to="another-task"/>
  | </join>
  | <custom name="inactivate-tasks"><transition to="rework-task"/></custom>
  | <task name="rework-task"><transition to="initiate-all-tasks"/></task>
  | <task name="another-task">
  | ..................

As far as approval process everything is working fine.
But i'm stuck with Rework flow at Custom Node. Any suggestions ??

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

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

More information about the jboss-user mailing list