[jboss-user] [jBPM] - Re: Accessing process variables in rule-task

Esteban Aliverti do-not-reply at jboss.com
Sun Jun 5 19:26:34 EDT 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110605/00137492/attachment.html 


More information about the jboss-user mailing list