Hi,<br><br>I suspect you need to add the import for java.util.List (or whatever collection your &quot;collect&quot; is operating on) into your package definition.<br><br>We did make a change between 5.2.M2 and CR1 that means you need to explicitly add the import - which is consistent with any other class you want to use in a Rule not in your model.<br>
<br>Having the import implicit was causing a lot of other problems that were more &quot;invisible&quot; to the user.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 14 June 2011 10:00, Vincent LEGENDRE <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all<br>
<br>
We gave a try with the CR1 version, and see that all &quot;collect&quot; clauses appears in grey and are not editable (such conditions are also not deletable). Everything was OK with the M2 version (rules were edited with this version).<br>

<br>
It is quite strange because all the &quot;collect&quot; condition is greyed, just like a disabled field, and seems to be done by purpose. Is &quot;collect&quot; deprecated ?<br>
<br>
Does anyone has the problem ?<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>