[jboss-user] [JBoss jBPM] - fork related problem

shirodkar4 do-not-reply at jboss.com
Thu Apr 19 02:19:19 EDT 2007


hi,

i am using jboss starters kit 3.1.4

here is my processdefinition.xml file


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |   xmlns="urn:jbpm.org:jpdl-3.1"  name="firstProcess">
  |    <swimlane name="Market Requestor">
  |       <assignment expression="user(grover)"></assignment>
  |    </swimlane>
  |    <swimlane name="Process Leader">
  |       <assignment expression="user(ernie)"></assignment>
  |    </swimlane>
  |    <swimlane name="Market Strategy Director">
  |       <assignment expression="user(bert)"></assignment>
  |    </swimlane>
  |    <start-state name="Set up a draft proposal">
  |       <task name="Draft proposal" swimlane="Market Requestor">
  |          <controller>
  |             <variable name="Engine Type"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="Notify Process Leader"></transition>
  |    </start-state>
  |  <task-node name="Notify Process Leader">
  |       <task swimlane="Market Strategy Director">
  |          <controller>
  |             <variable name="values" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <transition name="to branchfork" to="branchfork"></transition>
  |    </task-node>
  |    <fork name="branchfork">
  |       <transition name="Notify field support" to="Notify field support"></transition>
  |       <transition name="gather list of items to investigate" to="Gather list of items to investigate"></transition>
  |    </fork>
  |    <task-node name="Gather list of items to investigate">
  |       <task swimlane="Market Requestor">
  |          <controller>
  |             <variable name="Part Numbers"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="branchjoin"></transition>
  |    </task-node> 
  |    <task-node name="Notify field support">
  |       <task swimlane="Process Leader">
  |          <controller>
  |             <variable name="Person to notify"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="branchjoin"></transition>
  |    </task-node>
  |    <join name="branchjoin">
  |       <transition name="" to="Review proposal"></transition>
  |    </join>
  |    <decision name="Review proposal">
  |       <transition name="approve proposal" to="Approve proposal">
  |       </transition>
  |       <transition name="reject proposal" to="Reject proposal"></transition>
  |    </decision>
  |    <task-node name="Approve proposal">
  |       <task name="Approve Proposal" swimlane="Market Strategy Director">
  |          <controller>
  |             <variable name="Comment" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="end1"></transition>
  |    </task-node>
  |    <task-node name="Reject proposal">
  |       <task name="Reject Proposal" swimlane="Market Strategy Director">
  |          <controller>
  |             <variable name="Comment" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="end1"></transition>
  |    </task-node>
  |    <end-state name="end1"></end-state>
  |    
  | </process-definition>
  | 



now the problem is the moment market strategy director saves and closes the task assigned to him 

i get the message  the task has been assigned to null,null

i have also made this observation that the TASK "getting list of items to investigate"  which appears after the fork gets assigned to the user who begins the process rather than getting assigned to the user defined in the swimlane(grover) However the Task "Notify field support" gets assigned correctly to ernie.

is this a bug with JBPM-starters kit 3.1.4.. 

please help me as i am stuck.....


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

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



More information about the jboss-user mailing list