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/607972#607972 -------------------------------------------------------------- I'm not sure if I understood the question, but if what you need is to access process variables inside your rules, you can use something like this: | rule A | | | | ruleflow-group "ABC" | | | when | | | | $process: WorkflowProcessInstance() | | | then | | | | Map variable = (Map)((WorkflowProcessInstance)kcontext.getKnowledgeRuntime().getProcessInstance($process.getId())).getVariable("variableName"); | end -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/607972#607972] 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
