Title: Multislot with single value
Multifields require the $?varname syntax on the LHS.
You
might try the following:
(defrule bondMVMaxPCOutstanding::calcifnc (declare (auto-focus
TRUE)) (rulesfired (rules bondMVMaxPCOutstanding)) ?b - (grouped-facts
(partitionname cusip)
I think that Chirang wrote:
I need to check any of the facts have a particular slot value in the
factcollection.
Hi Chirang,
Two things:
1) You need to add a $ to the LHS pattern when matching a multifield.
So, you have to write: (factcollection $?fc) Make sure that you drop the $
when using the