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/608674#608674

--------------------------------------------------------------
Sorry, I forgot to mention that the WorkflowProcessInstance object is not a 
fact by default. You need to insert it before the Rule Node is executed. One 
way to do this is to add a Script Task node that executes:

kcontext.getKnowledgeRuntime().insert(kcontext.getProcessInstance());
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/608674#608674]

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

Reply via email to