Hello,

I'm new to Jess and i have a problem which is probably easy to solve but
i dont know how. I'm using JSR94 StateLessRuleSession to execute my
RuleSets written in Jess and as input parameter i have a simple
java.lang.String. Now I want to change this String within the RuleSet
and get back the changed String in my Java class. For example:

(defclass String java.lang.String)

(defrule MAIN::nextString "nextString"
(String (OBJECT ?i))
=>
(printout t "String " (?i toString) crlf)
???? how to change the string -> for example: String = "test" ????
)

Hope anyone can help me.

Thanks
Mathias

Reply via email to