On 15/05/2012, SuperGG <jerome-m.pe...@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users