[rules-users] RuleContext aka kcontext in workItem
PAYET, Manuel
manuel.payet at capgemini.com
Tue Jun 1 04:52:38 EDT 2010
You can pass the session by the constructor, like this, you can access those variables
-----Message d'origine-----
De : rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] De la part de blackrosey
Envoyé : mardi 1 juin 2010 05:48
À : rules-users at lists.jboss.org
Objet : [rules-users] RuleContext aka kcontext in workItem
How do I access kcontext in custom workItem?
public void executeWorkItem(WorkItem i, WorkItemManager m) {
// I want kcontext variable here
}
Thanks.
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/RuleContext-aka-kcontext-in-workItem-tp860256p860256.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this message.
More information about the rules-users
mailing list