Hi All! 

I'm trying to convert a .drl file to xml
But im not sure how to approach for this,
Please help me regarding the same.
Here is my drl file:

package com.rules
import com.model.Bank;

rule "Your First Rule"
 
        when
                $b1:Bank(name=="Manohar", accntno=="533")
        then 
 
                $b1.setBalance(5000);
                $b1.setDeposit($b1.getBalance()+1000);
 
end

rule "Your Second Rule"
 
        when
                $b1:Bank(name=="Ajay", accntno=="536")
        then 
 
 
                $b1.setBalance(6000);
                $b1.setDeposit($b1.getBalance()+2000);
 
end





Thanks and Regards
Manohar Kokkula
Mailto: manohar.kokk...@tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to