Hi, you're allowed to call any java in the then clause. The when clause,
however, is in a logic syntax.
Remember, you will have to import any classes that you use.
But usually you'll only want to access globals. Otherwise you are modifying
or updating or inserting variables that you linked in the when section.
So, you probably want:
global com.my.Results results;
if you wanted to access your global results variable. And of course, you'll
need to declare that global with setGlobal in the code. There are examples
in the documentation.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-issue-tp951185...
Sent from the Drools - User mailing list archive at
Nabble.com.