Certainly not the setter code you have posted, which is a NO-OP.<div><br></div><div>Are you using dialect MVEL? Is the field qrpQualRule6 public?</div><div><br></div><div>-W</div><div><br><br><div class="gmail_quote">On 29 December 2011 18:05, Rob Fisher <span dir="ltr">&lt;<a href="mailto:rob.fisher.l2gk@statefarm.com">rob.fisher.l2gk@statefarm.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry...I meant<br>
<br>
Does Drools add the &quot;SET&quot; behind the scenes?<br>
<br>
<br>
-----Original Message-----<br>
From: Rob Fisher [mailto:<a href="mailto:rob.fisher.l2gk@statefarm.com">rob.fisher.l2gk@statefarm.com</a>]<br>
Sent: Thursday, December 29, 2011 10:43 AM<br>
To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
Subject: [rules-users] DSL/DSLR question<br>
<br>
I have a question given the following code:<br>
<br>
Inserted fact setter method:<br>
public void setqrpQualRule6(String qrpQualRule6) {<br>
                qrpQualRule6 = qrpQualRule6;<br>
        }<br>
<br>
DSL<br>
[consequence][]Write {AttributeName} on {objectVarName} as {customCode}=modify ({objectVarName})  \{{AttributeName}={customCode} \};<br>
<br>
<br>
DSLR<br>
rule &quot;test rule 1&quot;<br>
        dialect &quot;mvel&quot;<br>
when<br>
             ThereIsQrpRuleFlagData called QrpFlags<br>
        - where $var04 is QrpQualFlagRule6 and is equal to &quot;N&quot;<br>
then<br>
        Write QrpQualFlagRule6 on QrpFlags as &quot;Y&quot;<br>
<br>
DRL Translation<br>
modify (QrpFlags)  {qrpQualRule6=&quot;Y&quot; };<br>
<br>
Question....Does Drools create the &quot;get&quot; behind the scenes?  I&#39;m guessing yes, because the rule is firing and the qrpQualRule6 attribute is getting set to &quot;Y&quot;.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/DSL-DSLR-question-tp3619216p3619216.html" target="_blank">http://drools.46999.n3.nabble.com/DSL-DSLR-question-tp3619216p3619216.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
<br>
<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>
</font></span></blockquote></div><br></div>