<div dir="ltr"><div><div>Unfortunately, it is &quot;Version 5.5.0.Final&quot;<br><br></div>thanks<br><br></div>Sean<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 3:34 PM, 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"><div dir="ltr"><div>What version of Guvnor are you using?<br><br>Can you check with 5.5? I have a vague recollection that this has been fixed.<br>
<br></div>If the problem remains in 5.5 please raise a JIRA at <a href="https://issues.jboss.org/browse/GUVNOR" target="_blank">https://issues.jboss.org/browse/GUVNOR</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 6 September 2013 20:07, Sean Su <span dir="ltr">&lt;<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div>I found that the statement generated from &quot;from collection&quot; is not correct when it is used in combination with &quot;Any of the following are true&quot; feature. There is &quot;&gt;&quot; being generated in frond of the statement which is causing the compilation error.<br>


<br></div><div>Here is the code being generated from the guided editor:<br><br><table><tbody><tr><td>  java.util.Collection( size &gt;= 1 ) from collect ( ProcedureEvent( elements contains 4658 ))<br>(         &gt;java.util.Collection( size == 1 ) from collect ( ProcedureEvent( elements contains 7788 , eval( contiguousDays.createNewWithPaddedTime(1, DateTimeUnit.DAY).intersectsButNotAdjacent($diagnosticEvent.contiguousDays) )))<br>


or         &gt;java.util.Collection( size &gt;= 2 ) from collect ( DrugEvent( elements contains 4146 ))<br>)</td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td>


</tr></tbody></table>The code above was from the item 8 and 9 in the attached screen. As shown, the collection statement is correct when there is no &quot;any of the following are true&quot; involved. <br><br></div><div>

This seems to be a bug in Guvnor.<br>
<br>Please let me know if this needs to be reported.<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>Sean<br></div></font></span></div>
<br></div></div>_______________________________________________<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><br></div>