Is segments a list of arrays of String?<br><br>If not something like this is probably what you&#39;re after:-<br><br>when<br>    $p : Parent( $mess : message );<br>    $seg : String() from $p.<b>segments</b><br><br>The rule will activate for each segment in segments.<br>
<br><div class="gmail_quote">2011/3/18 Sébastien Raickman <span dir="ltr">&lt;<a href="mailto:sebastien.raickman@gmail.com">sebastien.raickman@gmail.com</a>&gt;</span><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>Do someone knows how to disable strict type from the rule itself?<br><br>Or the way to cast segments in (String []) in the following rule:<br><br>dialect &quot;mvel&quot;<br><br>when<br>    $m : Parent();<br>

    $mess : Message() from $m.message;<br>    $seg : String[]() from $m.<b>segments</b>;<br><br>my error at deployment of drools-server is :<br><br><i><b>unqualified type in strict mode for: segments]</b></i><br><br>Thanks in advance<br>

<br>Seb<br>
<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>
<br></blockquote></div><br>