This looks to be entirely correct.
In the first case you are inserting a new Applicant (that I assume is the class you've added the "setLst" method to), but you are trying to invoke the method with an integer parameter. The same failure could be expected in Java.
In the second case you do not have Applicant listed in the "then" BRL Fragment, as Applicant is not added to and bound in the "when" part of the rule.
What are you actually trying to achieve?
With kind regards,
Mike
Hi ,
I also want to do something related to collections into the Guvnor. I have
updated an existing POJO with the list attribute and generated its getter
setter too .Then uploaded a jar into the Guvnor. When I tried to call a
setter of the list in a action part I am getting error.
Please find the attach document for the steps and screenshot.
List_in_Guvnor.doc
<http://drools.46999.n3.nabble.com/file/n4022238/List_in_Guvnor.doc>
Thx
-----
Aditi
--
View this message in context: http://drools.46999.n3.nabble.com/guvnor-5-5-Guided-decision-tables-web-based-tp4022179p4022238.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users