[jboss-user] [JBoss jBPM] - Re: passing data to AssignmentHandler best practice?

jmjava do-not-reply at jboss.com
Thu Aug 31 18:53:36 EDT 2006


thanks ron i am having trouble with the syntax:

 
    taskInstance.setVariable("buyer", "cookiemonster");
    taskInstance.setVariable("salesman", "ernie");
    taskInstance.setVariable("accountant", "bert");
    taskInstance.setVariable("shipper", "grover"); 


i want to be able to access these variables in script and i am trying:


    <assignment expression="taskInstance.variables['salesman']" />
  
  
  
   <assignment expression="taskInstance.variables['accountant']" />
  
  
  
   <assignment expression="taskInstance.variables['shipper']" /> 
  

but i'm getting this error:  couldn't resolve assignment expression 'taskInstance.variables['salesman']'

I have been reading the beanshell pdf put it's not helping much.  any ideas?

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

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



More information about the jboss-user mailing list