Insert a SSN fact?

when
    SSN( $ssn : ssn )
    $person : Person( ssn == $ssn )
then
    ...

sent on the move

On 19 Oct 2011 20:56, "bharath87" <craze.stuff@gmail.com> wrote:

Hi Guys,
          I am new to Jboss Drools. I am writing rules for an application
and here is where I need some help.

Suppose I have a rule

 rule "sampleRule"

when

     $person : Person ( ssn == "given" )

then

    display ($person)

end

I want to externalize the "given" and use a variable / user input instead.

Thanks

--
View this message in context: http://drools.46999.n3.nabble.com/externalization-of-input-constraints-in-a-rule-tp3435495p3435495.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users