Could you share the output log please? Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Jan 13, 2012 at 6:26 AM, srinivasasanda <[email protected]>wrote: > Thank you for your reply.The response from the above url is a text file > which > contains DRL.(pricing.txt) > > pricing.txt > package pricing > > > declare person > age: Integer > income: Integer > cpv: Integer > end > > declare specification > databandwidth: Integer > smsusage: Integer > voiceusage: Integer > videousage: Integer > end > > declare results > result: String > end > > declare policy > policyid: Integer > end > > > > rule "ageprice" > dialect "mvel" > when > person( age < 99 && > 1 ) > r : results( ) > then > r.setResult("199"); > System.out.println("ageprice"); > end > > > rule "incomeprice" > dialect "mvel" > when > person( income < 99999 && > 1 ) > r : results( ) > then > r.setResult("599"); > System.out.println("income price"); > end > > > rule "cpvprice" > dialect "mvel" > when > person( cpv < 6 && > 1 ) > r : results( ) > then > r.setResult("999"); > System.out.println("cpv price"); > end > > rule "policy" > dialect "mvel" > when > policy( policyid == 101 ) > then > System.out.println("policy filred"); > end > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/unable-to-update-the-changes-guvnor-rules-to-application-using-changeset-tp3652824p3655822.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
