Hi everybody!!

I've used Clips & ECLIPS a little bit.

I've created a template as 
;;
(deftemplate ResultMessage
    (slot RuleName              )
    (slot RuleMsg1              )
    (slot RuleMsg2              )
    (slot RuleMsg3              )
    (slot RuleSeviarity         )
)

and then each rule asserts facts as

(defrule LoanAmountHigh
    ?MortgageTypeTerms <- (MortgageTypeTermsTable
                                (Amount  ?Amount))
    (test (>= ?Amount 600000))
 =>
    (assert (ResultMessage 
                    (RuleName           "LoanAmountHigh")
                    (RuleMsg1           " MSG100084: Loan amount is" ?Amount
".Requires review by . . .")
                    (RuleMsg2           " ...")
                    (RuleMsg3           " ...")
                    (RuleSeviarity      1))))

I am not getting any asserted facts back in the program.
Can someone tell me how to get instances of "esultMessage" templates in
Jess.


Thanks
Sanjeev

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to