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

vedavyas do-not-reply at jboss.com
Tue May 22 01:08:06 EDT 2007

As u said i used the ForEachForkHandler and it works for a particular case.
This is my process definition file

  | <task-node name="assign-to-admin">
  |    <task name="for-approval" description="team member creation request">
  |         <assignment pooled-actors="user1"/>
  |     </task>
  |     <transition name="does user need lead approval" to="foreachfork">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.AdminAction"/>
  |     </transition>
  | </task-node>
  | <node name="foreachfork">
  |     <action class="com.techm.gisv.osl.cvsportal.actions.ForEachForkHandler"	config-type="bean">
  |         <list>projects1</list>
  |         <as>project</as>
  |     </action>
  |     <transition name="assign" to="user-needs-lead-approval">
  |     </transition>
  | </node>
  | <decision name="user-needs-lead-approval" expression="#{workflow.isUserDev}">
  |     <transition name="yes" to="assign-to-tech-lead">
  |         <action class="com.techm.gisv.osl.cvsportal.actions.ActorAction"/>
  |     </transition>
  |     <transition name="no" to="action"/>
  | </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>

According to my process definition and based on my logic if the control comes to the <task node> "assign-to-tech-lead" then none of the attributes are available. So no value can be displayed in the tasklist. 

how can i solve this? 

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

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

More information about the jboss-user mailing list