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

Aditi Hardas aditi.hardas at gmail.com
Tue Feb 12 06:26:05 EST 2013


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.


More information about the rules-users mailing list