[jboss-user] [JBoss jBPM] - Contexts of variables in forked processing

vedavyas do-not-reply at jboss.com
Thu May 17 08:42:08 EDT 2007


Hi All,

I am using forked proceesing where in there are two transitions from the fork. Both the transitions are going to a particular decision node.

>From the decision node, based on my logic, the task ends or it goes to a different <task-node>. in the task-node i am not able to retrieve the variables. 

In the decision node i can properly retrieve the variable. Only when i reach the task-node the value of the variables are not as expected.

>From which context can i retrieve the variables?

This is a part of the process definition file

  | <fork name="fork">
  |     <transition name="transition" to="user-needs-lead-approval">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.Fork1">
  | 	<index>0</index>
  |         </action>
  |     </transition>
  | 
  |     <transition name="transition1" to="user-needs-lead-approval">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.Fork1">
  | 	<index>1</index>
  |         </action>
  |     </transition>
  | </fork>
  | 	
  | <decision name="user-needs-lead-approval" expression="#
  | workflow.whatIsUserRegisteringAs}">
  |     <transition name="r3" to="assign-to-tech-lead">
  |        <action class="com.techm.gisv.osl.cvsportal.actions.ActorAction"/>
  |     </transition>
  |     
  |     <transition name="r1" to="done">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.PersistAction"/>
  |         <action class="com.techm.gisv.osl.cvsportal.actions.Mail"/>
  |     </transition>
  |     
  |     <transition name="r2" to="done">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.PersistAction"/>
  |         <action class="com.techm.gisv.osl.cvsportal.actions.Mail"/>
  |     </transition>
  | </decision>
  | 	
  | <task-node name="assign-to-tech-lead"> 
  |     <task name="for-approval" description="team lead creation request">
  |         <assignment pooled-actors="#{pooledActors.pooledActor}"/>
  |     </task>
  |     <transition name="approved and assigned back to admin" to="assign-admin">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.LeadAction"/>
  |     </transition>
  | </task-node>
  | 


Please help me out

Thanks


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

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



More information about the jboss-user mailing list