[rules-users] guvnor 5.5 - Guided decision tables (web based)

Michael Anstis michael.anstis at gmail.com
Tue Feb 12 06:33:42 EST 2013


You've not described what you are tying to achieve.

If you can explain what it is you want the rules to do we might be able to
advise an approach.

On 12 February 2013 11:26, Aditi Hardas <aditi.hardas at gmail.com> wrote:

> Hi Mike ,
>
> Thx for your response.I have added a String type list in my Applicant
> POJO.But I do not know how to pass a String into Guvnor.
>
> I try some cases.
>
>   when
>         pr : PolicyRecord( policyStatus == 0 , policyType == 1 )
>         ptdf : PayTypeDepositFund( mode == 0 )
>   then
>         ptdf.setMode( 2 );
>         ptdf.setOrder( 0 );
>         update( ptdf );
>         Applicant a = new Applicant();
>         a.setLst( "aa" );
>         insert( a );
>  end
>
> I suppose that setLst("aa") is tacking string arrgument but still getting
> error.
>
> then I pass thik this
>  when
>         pr : PolicyRecord( policyStatus == 0 , policyType == 1 )
>         ptdf : PayTypeDepositFund( mode == 0 )
>    then
>         ptdf.setMode( 2 );
>         ptdf.setOrder( 0 );
>         update( ptdf );
>         Applicant a = new Applicant();
>         a.setLst( aa );
>         insert( a );
> end
>
> But i Still getting the same error.
>
>
>
> -----
> Aditi
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/guvnor-5-5-Guided-decision-tables-web-based-tp4022179p4022241.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/20130212/00f54c81/attachment.html 


More information about the rules-users mailing list