<p>Insert a SSN fact?</p>
<p>when<br>
    SSN( $ssn : ssn )<br>
    $person : Person( ssn == $ssn )<br>
then<br>
    ...<br></p>
<p>sent on the move</p>
<p>On 19 Oct 2011 20:56, &quot;bharath87&quot; &lt;<a href="mailto:craze.stuff@gmail.com">craze.stuff@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Guys,<br>
           I am new to Jboss Drools. I am writing rules for an application<br>
and here is where I need some help.<br>
<br>
Suppose I have a rule<br>
<br>
 rule &quot;sampleRule&quot;<br>
<br>
when<br>
<br>
      $person : Person ( ssn == &quot;given&quot; )<br>
<br>
then<br>
<br>
     display ($person)<br>
<br>
end<br>
<br>
I want to externalize the &quot;given&quot; and use a variable / user input instead.<br>
<br>
Thanks<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/externalization-of-input-constraints-in-a-rule-tp3435495p3435495.html" target="_blank">http://drools.46999.n3.nabble.com/externalization-of-input-constraints-in-a-rule-tp3435495p3435495.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></p>