Is segments a list of arrays of String?

If not something like this is probably what you're after:-

    $p : Parent( $mess : message );
    $seg : String() from $p.segments

The rule will activate for each segment in segments.

2011/3/18 Sébastien Raickman <>
Hi all,

Do someone knows how to disable strict type from the rule itself?

Or the way to cast segments in (String []) in the following rule:

dialect "mvel"

    $m : Parent();
    $mess : Message() from $m.message;
    $seg : String[]() from $m.segments;

my error at deployment of drools-server is :

unqualified type in strict mode for: segments]

Thanks in advance


rules-users mailing list