[rules-users] Decision table call external method

Wolfgang Laun wolfgang.laun at gmail.com
Tue May 15 06:05:40 EDT 2012


On 15/05/2012, SuperGG <jerome-m.petit at thalesgroup.com> wrote:
> I agree with you but I didn't succeed to do it.
> Am i using the good syntax :
>
> Variables             myPackage.XMLTool xmlTool
>
> And after in the action I can use xmlTool.addNodes() right ?
> I don't need to insert the fact in the ksession with this method ?

No, but in the Java code where you create the session, you have to
create the object and assign it to the DRL variable. See API:
setGlobal(...) and the example in the Expert manual.

-W



>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3987699.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list