Hi everyone

Ive posted this in the seam board but on reflection i think this i probably 
best here

I was just wondering if there was a way of passing variables from my decision 
node on to the next tasks

below i have a decision not that has access to #{changerequest}, id like to be 
able to access the changerequest in the task-node but i sppose its outside the 
scope.

is there a way to pass on a variable?

as allways many thanks for any help.

<decision name="decide" expression="#{#somthing.expression}">
  | 
  |         <transition name="yes" to="approver_approve_CR"/>
  |         <transition name="no" to="assign_approver_to_CR"/>
  |     </decision>
  | 
  |     <task-node name="assign_approver_to_CR">
  |         <task name="assign_app_to_CR" description="unknown">
  |             <!-- This will appear in the pooledtasklist not the taksList -->
  |             <assignment pooled-actors="CRS_Processor"/>
  |         </task>
  |         <transition name="submit" to="approver_approve_CR"/>
  |     </task-node>
  | 
  |     <task-node name="approver_approve_CR">
  |         <task name="ap_approve_cr" description="#{crId}">
  |             <assignment actor-id="#{changerequest.crApprover}"/>
  |         </task>
  |         <transition name="accept" to="process_CR"/>
  |         <transition name="reject" to="editor_revise_CR"/>
  |     </task-node>    

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075603
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to