[rules-users] Re: Can't figure out the right syntax for this rule

Henry Canterburry canterburry at gmail.com
Mon Jan 14 12:03:03 EST 2008


I also tried the following rule syntax with from but without collect ( ) :

rule "Explode Globals"
    ruleflow-group "Data Prep"
    when
        $market : Market() from request.requestObjects.values
        $series : CandleSeries() from $market.candleSeries
    then
        insert ( $series );
        insert ( $market );
       
end

At runtime I get an exception: org.mvel.PropertyAccessException: unable 
to resolve property: values
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080114/08a3feca/attachment.html 


More information about the rules-users mailing list