If you want to execute the test() methode of the Object() you are
checking on on the LHS, you need to save the instance of it into a variable:
rule "test"
when
$o : Object()
then
$o.test();
end
greets,
Waruzjan
Manukyan, Sergey schreef:
Getting error reports by drools builder in 4.0.1 telling “The method
test() is undefined” … is this a known bug?
**********************
** LEGAL DISCLAIMER **
**********************
This E-mail message and any attachments may contain
legally privileged, confidential or proprietary
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of
this message to the intended recipient(s), you are
hereby notified that any dissemination, distribution
or copying of this E-mail message is strictly
prohibited. If you have received this message in
error, please immediately notify the sender and
delete this E-mail message from your computer.
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users