Re: [rules-users] Problem with function

2007-07-25 Thread Natraj Gudla
Hello Jones, I am extremely sorry of not updating the users. After i posted the query, i realised the problem infact was what you pointed. It was quite silly.Itworks now. Thanks a lot for your reply. Thanks Natraj Gudla. On 7/25/07, Dean Jones [EMAIL PROTECTED] wrote: Isn't the problem

[rules-users] Problem with function

2007-07-24 Thread Natraj Gudla
) roI = 18;* **else* *if*( loanAmount = 999000 )* *roI = 17;* **else* *if*( loanAmount = 199 )* *roI = 14.5;* **else* *if*( loanAmount = 399 )* *roI = 12;* **else* *if*( loanAmount = 749 )* *roI = 11.5;* **else* *if*( loanAmount 749 )* *roI = 9.99;* **return* roI; } Thanks Natraj

Re: [rules-users] Using Rule Flow

2007-07-20 Thread Natraj Gudla
execute ConwayAgendaGroupRun and ConwayRuleFlowGroupRun to run the two examples. AgendaGroupDelegate and RueFlowDelegate show the two different implementations. Mark Natraj Gudla wrote: Hi, Has any one used Rule FLow with 4.0.0. I am looking for some help on how to use rule flow, where to mention

[rules-users] Some serious problems while authoring rules

2007-07-19 Thread Natraj Gudla
I am facing some serious blocking issues while writing few rules. In the rule below, a1, a2 are Double objects. When i have the first statement in the rule EMIAgainstProperty( obj : a1 ), the rule does not firewhen i comment and re phrase the second line as emi : EMIAgainstProperty( a2 = ( *

[rules-users] Hello Mark

2007-07-19 Thread Natraj Gudla
Mark, Have you released the final version of 4.0.0. Under the download page http://labs.jboss.com/jbossrules/downloads i see the MR3 listed. Thanks Natraj ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] JBossRules and JAVA Servlet / JSP

2007-07-19 Thread Natraj Gudla
You are getting an error at run time. Make sure you include all the required drools jars in your run time class path. THis will resolve the issue. If you are using an eclipse launch config, it is very easy to set the class path jars. You need to know that compile time libraries and run time

[rules-users] Modifying the fact more than once within a rule

2007-07-19 Thread Natraj Gudla
. Thanks Natraj Gudla ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Using Rule Flow

2007-07-19 Thread Natraj Gudla
ConwayAgendaGroupRun and ConwayRuleFlowGroupRun to run the two examples. AgendaGroupDelegate and RueFlowDelegate show the two different implementations. Mark Natraj Gudla wrote: Hi, Has any one used Rule FLow with 4.0.0. I am looking for some help on how to use rule flow, where to mention the drl file

Re: [rules-users] Modifying the fact more than once within a rule

2007-07-19 Thread Natraj Gudla
to happen and you need to fix your rules to avoid that. []s Edson 2007/7/19, Natraj Gudla [EMAIL PROTECTED]: Hello All, Has anyone faced a situation where a fact gets modified more than once within a given DRL. The modification is required so that the other rules properly fire based

Re: [rules-users] Another problem

2007-07-18 Thread Natraj Gudla
Hi Starke, Thanks a lot for your inputs. Apart from being able to debug using your stuff, my main concern is that a simple declaration is making the rule not to fire. Why is that so? I am pretty sure, when i remove that particular line the fact which is passed passes the condition. The Drools

Re: [rules-users] Unable to perform simple primitive operations

2007-07-18 Thread Natraj Gudla
(bpl.doubleValue() * 1.5 ) Mark Natraj Gudla wrote: Hi All, I am using Drools 3.0.6 and unable to perform some simple form of multiplication. I want to compare an object field with another field multiplied by a factor. * rule **Calculate* Business profit,1 *when **EMIAgainstProperty* ( bp1

[rules-users] Having an else part

2007-07-17 Thread Natraj Gudla
When writing a rule, how do i deal with a scenario to do an action when a condition is not true. If i have a business need like IF COND1 is true DO Action1 ELSE DO Action 2 I feel with drools we only check for the condition in when part and incase it fails, we dont have a way to call

[rules-users] Using JSR-94 through FIT

2007-07-06 Thread Natraj Gudla
address this within the JSR-94 implementation classes. Thanks Natraj Gudla. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Problem while using the global - Drools 3.0.6

2007-07-04 Thread Natraj Gudla
it would be important to have that, please open a JIRA with the feature request. We will look into making that possible in future releases. Thank you, Edson 2007/7/3, Natraj Gudla [EMAIL PROTECTED]: Hi Edson, thanks for the update. Any specific reason why this is so? Because as a general

[rules-users] Documentation of 4.0.0 MR3

2007-07-04 Thread Natraj Gudla
Hi, I see the online MR3 documentation for 4.0.0 looks similar to that of 3.0.6. I dont find, any details on the rule flows and any new things.please help?? Thanks Natraj Gudla. ___ rules-users mailing list rules-users@lists.jboss.org https

Re: [rules-users] Problem while using the global - Drools 3.0.6

2007-07-04 Thread Natraj Gudla
notified when the ticket is worked on. []s Edson 2007/7/4, Natraj Gudla [EMAIL PROTECTED]: Thanks Edson. I have never used JIRA earlier. Can you give me the required URL or set up details to have it going for me. Thanks Natraj On 7/3/07, Edson Tirelli [EMAIL PROTECTED] wrote

[rules-users] Retrieve a package from rule base

2007-07-04 Thread Natraj Gudla
. Pl let me know the feasibility of this change. If required i can raise a JIRA on this. Thanks Natraj Gudla. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Problem while using the global - Drools 3.0.6

2007-07-02 Thread Natraj Gudla
. But not the first way of using the global in the function. Any help?? Thanks -- Natraj Gudla ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Problem while using the global - Drools 3.0.6

2007-07-02 Thread Natraj Gudla
not designed to be available in functions, unless they are sent in as parameters in the way you did in your second example. []s Edson 2007/7/2, Natraj Gudla [EMAIL PROTECTED]: Hello, I am using Drools 3.0.6. While using a global variable in a function, the compiler complains it cannot resolve

Re: [rules-users] Dynamic JavaBeans evaluate again, and again...

2007-06-27 Thread Natraj Gudla
help you. Check it out. Thanks Natraj Gudla. On 6/28/07, Felipe Piccolini [EMAIL PROTECTED] wrote: Hi, I dont know if this is reported or maybe its just my mistake... but when I use dynamic JavaBeans and PropertyListeners the re-evaluation of the rules seems to skip the condition evaluation, so