[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1121) Operator field and the fact's variable field required in the "then" part of the rule
Michael Neale (JIRA)
jira-events at lists.jboss.org
Mon Aug 27 20:50:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1121?page=comments#action_12374097 ]
Michael Neale commented on JBRULES-1121:
----------------------------------------
I have not been able to reproduce it. If you type "=" as the first character in the text box (talking about "then" of course) then it WILL let you put in numbers (or should). If not, then it is a bug (and we should log it as such). Can you provide more details on this?
Yes I like your idea of the "literal/formula" thing similar to the "when" part (but we want to keep it simple - as most of the time it is literal values or calculations).
> Operator field and the fact's variable field required in the "then" part of the rule
> ------------------------------------------------------------------------------------
>
> Key: JBRULES-1121
> URL: http://jira.jboss.com/jira/browse/JBRULES-1121
> Project: JBoss Rules
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Eclipse IDE, drools-brms
> Affects Versions: 4.0.0.GA
> Environment: drools-jbrms stand alone and Eclipse drools-4.0.0
> Reporter: sreeni sabapathy
> Assigned To: Michael Neale
> Priority: Minor
> Fix For: FUTURE
>
> Original Estimate: 10 minutes
> Remaining Estimate: 10 minutes
>
> In the drools-jbrms standalone and even in the eclipse plugin version of "New guided drl file"
> the "then" part of the rule has the limitation of assigning the fixed value to the fact's variable.
> But in many condition the the value of the variable depends upon the value of another variable.
> I have taken a simple example for explanation.
> For calcluating simple interest
> SI = P*T*R/100
> Now in the rule file if the
> "when" condition as the check of " Calcluation type (simple ineterst or compound interest)"
> "then" part having SI,
> At the present drool-jbrms definition the
> "then" part has SI = text field.
> But my requirement is to look up the class variable "principle", "Time" and the "Rate" and then calculate, not just
> assign some fixed values.
> In a simple sentence I would appreciate if the drools- jbrms has the options related to "when" in the "then" part of the rule also.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list