Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion
"Re: Accessing process variables in rule-task" To view the discussion, visit: http://community.jboss.org/message/608092#608092 -------------------------------------------------------------- The LHS of your rule is wrong. I think you need to use an eval() if you want to invoke methods that contains parameters. I also remembered another way to get process variables in the RHS, but I don't remember if it has some caevats: when $processInstance: WorkflowProcessInstance() then String monkey = (String)$processInstance.getVariable("monkey"); //This will return "chimp" $processInstance.setVariable("character","nice"); end -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/608092#608092] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
