<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Michael,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>   Thanks a lot for the reply. This is exactly what I needed and it works fine :). It is true that is not so intuitive, but I guess a simple</DIV><DIV>mention on the documentation will be enought. You are right about keeping simple the GUI editor.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks again. :)</DIV><DIV><BR><DIV><DIV>On 06-10-2007, at 22:00, Michael Neale wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">On the RHS, if you put "=" it will allow you to type in that calculation. <BR><BR>I guess that is not as intuitive as it shoudl be (on the LHS it makes you tell it what you want to do), I am open to considering changing that so it is more obvious. <BR><BR>Yes, you can only access setters this way (at the moment). Everything is based around fields and facts, (not so much objects). The balancing act is to not put too much power into the GUI (as if you want more, that is what DRL is for). <BR><BR><DIV><SPAN class="gmail_quote">On 10/4/07, <B class="gmail_sendername">Felipe Piccolini</B> &lt;<A href="mailto:felipe.piccolini@bluesoft.cl">felipe.piccolini@bluesoft.cl</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <DIV style=""><DIV style="margin: 0px;">Ok, so to fit on the "not ignored emails" from the list Mark posted, I changed the title. However I following in the list </DIV><DIV style="margin: 0px;">anyways beacuse Im resending this email in less than 3 days.  </DIV><DIV style="margin: 0px;"><BR></DIV><DIV style="margin: 0px;">Note: Im not desperate, nor this is for today. This just came out today yesterday and well... its important to me, but I</DIV><DIV style="margin: 0px;">think I can get a work around for now. </DIV><DIV style="margin: 0px;"><BR></DIV><DIV style="margin: 0px;">So here is the real on-topic question.</DIV><DIV style="margin: 0px;">-----------------</DIV><DIV style="margin: 0px;">Anyone knows how to use variables (from fields) setted on LHS, to modify a field on the RHS using the GUI editor </DIV><DIV style="margin: 0px;">from BRMS?</DIV><DIV style="margin: 0px; min-height: 14px;"><BR></DIV><DIV style="margin: 0px;">What I need is to write this rule on BRMS.</DIV><DIV style="margin: 0px; min-height: 14px;"><BR> </DIV><DIV style="margin: 0px;"><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;">rule</SPAN></FONT><FONT face="Monaco" size="3"><SPAN style="font-size: 11px;"> </SPAN></FONT><FONT color="#008000" face="Monaco" size="3"> <SPAN style="font-size: 11px;">"Set approvedMount for a women"</SPAN></FONT></DIV><DIV style="margin: 0px;"><SPAN style="white-space: pre;">        </SPAN><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;"> no-loop</SPAN></FONT><FONT face="Monaco" size="3"><SPAN style="font-size: 11px;"> </SPAN></FONT><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;">true</SPAN></FONT></DIV><DIV style="margin: 0px;"> <SPAN style="white-space: pre;">        </SPAN><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;">when</SPAN></FONT></DIV><DIV style="margin: 0px;"><SPAN style="white-space: pre;">        </SPAN><SPAN style="white-space: pre;">         </SPAN><FONT face="Monaco" size="3"><SPAN style="font-size: 11px;">$p: Person($sex: sex == </SPAN></FONT><FONT color="#008000" face="Monaco" size="3"><SPAN style="font-size: 11px;">"F"</SPAN></FONT><FONT face="Monaco" size="3"> <SPAN style="font-size: 11px;">, $income: incomeMount)</SPAN></FONT></DIV><DIV style="margin: 0px;"><SPAN style="white-space: pre;">        </SPAN><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;">then</SPAN> </FONT></DIV><DIV style="margin: 0px;"><SPAN style="white-space: pre;">        </SPAN><SPAN style="white-space: pre;">        </SPAN><FONT face="Monaco" size="3"><SPAN style="font-size: 11px;">$p.setApprovedMount($income * 1.2);</SPAN> </FONT></DIV><DIV style="margin: 0px;"><SPAN style="white-space: pre;">        </SPAN><SPAN style="white-space: pre;">        </SPAN><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;">update</SPAN></FONT><FONT face="Monaco" size="3"> <SPAN style="font-size: 11px;">($p);</SPAN></FONT></DIV><DIV style="margin: 0px;"><FONT color="#9a0000" face="Monaco" size="3"><SPAN style="font-size: 11px;">end</SPAN></FONT></DIV><DIV style="margin: 0px; min-height: 14px;"> <BR></DIV><DIV style="margin: 0px;">I know I can use formulas, but I only know how to set those on LHS, I dont know how to put a formula on RHS (setter of the field to modify).</DIV><DIV style="margin: 0px; min-height: 14px;"> <BR></DIV><DIV style="margin: 0px;">Thanks.</DIV><BR><DIV> <SPAN style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"> <DIV><SPAN style="text-decoration: underline;"><SPAN>                                                                        </SPAN></SPAN><DIV><FONT size="3"><SPAN style="font-size: 13px;"><B style="font-size: 13px; font-weight: bold;"> <SPAN style="font-size: 13px; font-weight: bold;">Felipe Piccolini M.</SPAN></B></SPAN></FONT></DIV><DIV><A href="mailto:felipe.piccolini@bluesoft.cl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> <SPAN style="color: rgb(0, 0, 238);">felipe.piccolini@bluesoft.cl</SPAN></A></DIV><BR></DIV><DIV><BR></DIV><BR></SPAN> </DIV><BR></DIV><BR>_______________________________________________<BR>rules-users mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org"> rules-users@lists.jboss.org</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users </A><BR><BR></BLOCKQUOTE></DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">rules-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;; font-family: Arial; "><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;; font-family: Arial; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; ">Atentamente,</SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;; font-family: Arial; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3px; ">______________________</SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><B style="font-family: Times New Roman; font-size: 16px; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; font-weight: bold; ">Felipe Piccolini Marfull</SPAN></SPAN></SPAN></SPAN></B></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; ">Jefe de Proyectos</SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; ">Agustina 1141 Piso 8-B</SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; ">Santiago</SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "> </SPAN></SPAN></SPAN></SPAN></SPAN></FONT></P><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; ">Fono    +(56 2) 6883083</SPAN></SPAN></SPAN><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; ">7</SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; "><SPAN class="Apple-style-span" style="font-family: Times New Roman; font-size: 16px; ">E-mail </SPAN></SPAN></SPAN><FONT class="Apple-style-span" color="#0022F2"><SPAN class="Apple-style-span" style="text-decoration: underline;; color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; ">felipe.piccolini</SPAN></SPAN></SPAN></SPAN></FONT></SPAN></SPAN></FONT><A href="mailto:richard.calderon@bluesoft.cl"><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; color: rgb(0, 0, 238); font-family: Times New Roman; -khtml-text-decorations-in-effect: underline; "><FONT class="Apple-style-span" color="#0022F2"><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 34, 242); font-family: Times New Roman; font-size: 16px; -khtml-text-decorations-in-effect: underline; ">@bluesoft.cl</SPAN></SPAN></SPAN></SPAN></FONT></SPAN></FONT></A></DIV><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" face="Times New Roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "><BR class="khtml-block-placeholder"></SPAN></FONT></P><BR class="Apple-interchange-newline"></SPAN><SPAN><IMG src="cid:C7BC1E79-081E-4FF6-ACBF-A13DA26844DF@local"></SPAN><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT class="Apple-style-span" face="Times New Roman" size="4"><BR class="Apple-interchange-newline"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Times New Roman; "></SPAN></FONT></P></SPAN></SPAN></SPAN></SPAN><BR class="Apple-interchange-newline"></SPAN> </SPAN></SPAN></SPAN></SPAN></DIV><BR></DIV></BODY></HTML>