RE: JESS: Multislot with single value

2004-08-16 Thread Mitch Christensen
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)

RE: JESS: Multislot with single value

2004-08-16 Thread Jason Morris
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