This has been fixed in 5.5.0.Final.<br><br><div class="gmail_quote">On 14 November 2012 12:29, msic <span dir="ltr">&lt;<a href="mailto:maciejsiczek@o2.pl" target="_blank">maciejsiczek@o2.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I&#39;ve encountered the same issue as described by Vann_the_Red. My GUVNOR<br>
version is 5.4.0-SNAPSHOT.<br>
The problem is that I can&#39;t assign defined variable as a value in formula<br>
field in &quot;THEN&quot; section of my rule. It is due to field mask that allows me<br>
to enter only digits (type of the field is long). When I click on &quot;formula&quot;,<br>
the textarea containing &quot;=&quot; appears, but I cannot type in variable name, nor<br>
any character other than digits. Furthermore, if I delete &quot;=&quot; I cannot<br>
re-enter it.<br>
I&#39;m providing the screenshot of the rule:<br>
&lt;<a href="http://drools.46999.n3.nabble.com/file/n4020828/guvnor_problem.png" target="_blank">http://drools.46999.n3.nabble.com/file/n4020828/guvnor_problem.png</a>&gt;<br>
As I said, the type of clientId field is long. I would like to enter there<br>
&quot;=<a href="http://cli.id" target="_blank">cli.id</a>&quot;.<br>
I&#39;m kindly asking for help.<br>
<br>
<br>
<br>
manstis wrote<br>
<div class="im">&gt; Hello,<br>
&gt;<br>
&gt; Please advise which version of Guvnor you are using.<br>
&gt;<br>
&gt; Please also provide a few explicit examples where behavior is not as you&#39;d<br>
&gt; expect (screen shots of the rule and a few words would be cool).<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
</div>&gt; On 26 July 2012 20:42, Vann_the_Red &amp;lt;<br>
<br>
&gt; abanks@<br>
<div><div class="h5"><br>
&gt; &amp;gt; wrote:<br>
&gt;<br>
&gt;&gt; Hello.  I started with a search and didn&#39;t find an answer.  I apologize<br>
&gt;&gt; if<br>
&gt;&gt; my<br>
&gt;&gt; search-fu was lacking today.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m a non-developer tasked with rules creation and testing using guvnor.<br>
&gt;&gt; I<br>
&gt;&gt; have found some scenarios where I can bind a variable to either the whole<br>
&gt;&gt; input model or a fact in the input model and then later access those in<br>
&gt;&gt; the<br>
&gt;&gt; output model by selecting &quot;Bound Variable&quot; from the popup box in the Then<br>
&gt;&gt; statement.  In other scenarios, &quot;Bound Variable&quot; is not an option (only<br>
&gt;&gt; Literal or Formula).  What must I do to be able to access the bound<br>
&gt;&gt; variables from the When statement(s) in the Then statement(s)?<br>
&gt;&gt;<br>
&gt;&gt; TIA,<br>
&gt;&gt;<br>
&gt;&gt; Vann<br>
&gt;&gt;<br>
&gt;&gt; This is a repost because I wasn&#39;t on the mailing list yet and I gather<br>
&gt;&gt; most<br>
&gt;&gt; didn&#39;t see it.  Apologies again.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://drools.46999.n3.nabble.com/Guvnor-Accessing-Bound-Variable-in-Then-Statement-tp4018932.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-Accessing-Bound-Variable-in-Then-Statement-tp4018932.html</a><br>

&gt;&gt; Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rules-users mailing list<br>
&gt;&gt;<br>
<br>
</div></div>&gt; rules-users@.jboss<br>
<br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
<br>
&gt; rules-users@.jboss<br>
<br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-Accessing-Bound-Variable-in-Then-Statement-tp4018932p4020828.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-Accessing-Bound-Variable-in-Then-Statement-tp4018932p4020828.html</a><br>

<div class="HOEnZb"><div class="h5">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>
</div></div></blockquote></div><br>