[rules-users] Usage of java.util.List in Drools Guvnor 5.5.0

Michael Anstis michael.anstis at gmail.com
Wed Jul 2 07:12:45 EDT 2014


So your FormatConfig object contains a list that you need access to?

rule "MyFormat"
    dialect "mvel"
            when
        config : FormatConfig( fieldName == "AMOUNT", $l : listField )
    then
        $l.doWhatEverYouWant();
        config.setRegEx( "123" );
         retract( config );
end


On 2 July 2014 12:05, Rajeswari <rajeswari at raremile.com> wrote:

> Hi,
> I need to modify the List field in my Config object.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Usage-of-java-util-List-in-Drools-Guvnor-5-5-0-tp4030217p4030222.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140702/63470acb/attachment-0001.html 


More information about the rules-users mailing list