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(a)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-b...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users