<p dir="ltr">I don&#39;t have access to the code here, but it sounds like _ prefixes are invalid, which means we have a potential bug. </p>
<p dir="ltr">Where/how did you manage to set _id binding?</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 11 Jul 2014 22:13, &quot;sumit dhaniya&quot; &lt;<a href="mailto:sumitdhaniya@gmail.com">sumitdhaniya@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">
<div dir="ltr">I can create rule by selecting the field from fields dropdown but when I try to validate it throws error given below :-<div><br></div><div><div>2014-07-12 02:36:24,203 [http-bio-8080-exec-3] ERROR Unable to build KieBaseMode</div>

<div>l:defaultKieBase</div><div>Unable to Analyse Expression _id == $searchContext.lastThreeProducerId:</div><div>[Error: no such identifier: _id]</div><div>[Near : {... _id == $searchContext.lastThre ....}]</div><div>             ^ : [Rule name=&#39;EateryRepeatUsage&#39;]</div>

</div><div><br></div><div>data type of _id is string and same rule gets successfully validated if I use any other variable of string type.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 12, 2014 at 2:30 AM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">When you say &quot;it doesn&#39;t allow me to use&quot; can you be a little more descriptive? Does the UI prevent it (I am thinking this is the case) or does the DRL generate errors?</p>


<p dir="ltr">Sent on the move</p><div><div>
<div class="gmail_quote">On 11 Jul 2014 21:44, &quot;sumit dhaniya&quot; &lt;<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@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">


<div dir="ltr">Thanks Mike I&#39;ll try with 6.1 and if issue still comes I&#39;ll share the drl.<div><br><div>Can you please also confirm if I can use variables whose names start with &quot;_&quot; cause it seems it doesn&#39;t allows me to use _id</div>



</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 12, 2014 at 2:01 AM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">What version?</p>
<p dir="ltr">Have you tried 6.1.CR2 there were lots of improvements in this area.</p>
<p dir="ltr">The issue is guided rules are stored as DRL and we need to reverse engineer the model used by the UI from the DRL. </p>
<p dir="ltr">Failing that we&#39;ll need your DRL so we can fix whatever issue exists in your scenario.</p>
<p dir="ltr">Thanks</p>
<p dir="ltr">Sent on the move</p><div><div>
<div class="gmail_quote">On 11 Jul 2014 21:27, &quot;Sumit Dhaniya&quot; &lt;<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@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">




I&#39;m creating a rule in which I&#39;m comparing properties of two objects. All<br>
works well I&#39;m able to compare their properties and rule gets validated as<br>
well and then I close the rule, but when I open the rule again properties of<br>
second object in condition don&#39;t show up in guided editor however they are<br>
present if I check the source of the guided rule.<br>
Moreover it also doesn&#39;t allows me to use _id variable which is present in<br>
my class whereas there is no issue if I use any other variable name id this<br>
due to &quot;_&quot;?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/conditions-getting-removed-from-Guided-Rule-tp4030308.html" target="_blank">http://drools.46999.n3.nabble.com/conditions-getting-removed-from-Guided-Rule-tp4030308.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" target="_blank">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></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></div><br></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></div><br></div>
<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></div>