What version of Guvnor are you using?
It is impossible to define the DRL you show below with pre-5.4.
Pre-5.4 you have to have a field constraint on the pattern (even if it's
this != null).
Add conditon->Add pattern->Customer (binding\variable $cc)->Add field,
this->Add operator, is not null.
With 5.4 you can define a BRL fragment, but this is not necessary for your
requirement as the above will suffice.
Showing a screen-shot of your decision table (with header expanded) would
be helpful.
On 20 July 2012 13:29, abhinay_agarwal <abhinay_agarwal(a)infosys.com> wrote:
http://drools.46999.n3.nabble.com/file/n4018799/Untitled.png
y m i getting *Error: unable to resolve method using strict-mode:
org.drools.spi.KnowledgeHelper.$cc()]* error...
my $cc is binded with a Customer()..
how can i do this in the condition column of a decision table:
rule "my rule"
when
$cc:Customer()
then
//something
end
--
View this message in context:
http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p401...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users