[JBoss JIRA] Created: (JBRULES-949) the rules of decision table was looped.
by jiang jinfeng (JIRA)
the rules of decision table was looped.
-----------------------------------------
Key: JBRULES-949
URL: http://jira.jboss.com/jira/browse/JBRULES-949
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Decision tables
Affects Versions: 3.0.1
Environment: window xp, eclipse-3.1.2
Reporter: jiang jinfeng
Assigned To: Mark Proctor
There were some discussions about this issue in the drools-user mailing list already.
In the decision table, salience = true:
When I modify a variable in the action cell, even I have specified keyword "UNLOOP" to be true, all other rules satisfying the new conditions are fired (even for rules which already fired before). Therefore, the whole rule set is looped and can not stop running.
Currently I need to set up a lot of flags to avoid this situation ...
--
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
19 years
[JBoss JIRA] Created: (JBRULES-502) Add binding semantics for decision table authors
by Scott Reed (JIRA)
Add binding semantics for decision table authors
------------------------------------------------
Key: JBRULES-502
URL: http://jira.jboss.com/jira/browse/JBRULES-502
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Decision tables
Reporter: Scott Reed
Assigned To: Mark Proctor
The expressive capability of decision tables for non-programmer authors is limited. Especially, the author has no way to tell the developer to use the value of a property from one column in the condition for another. I can think of two ways that binding semantics could be added:
Use the comment cells (i.e. "Age: Person's Age") - this is simple and expressive but would cause problems if an author wants to use the '<word>:' construct in a comment without intending it to be a binding.
Add a designated row above or below the comment row.
--
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
19 years
[JBoss JIRA] Created: (JBRULES-451) Allow optional trailing comma "," for field constraint list
by Juergen none (JIRA)
Allow optional trailing comma "," for field constraint list
-----------------------------------------------------------
Key: JBRULES-451
URL: http://jira.jboss.com/jira/browse/JBRULES-451
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 3.0.4
Reporter: Juergen none
Assigned To: Mark Proctor
Priority: Optional
With frequently re-arranging / adding / removing field constraints, I more than once forgot to add / remove trailing/separating commas in the field constraint list.
would it be possible to extend the drools drl syntax to allow an optional trailing comma?
e.g.
A(
a == 1,
b == 2, // optional trailing comma, should not yield the syntax error
)
A(
a == 1,
b == 2 // no (optional) trailing comma, like currently required, is also valid
)
--
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
19 years
[JBoss JIRA] Created: (JBRULES-969) To be able to access globals within functions
by Natraj Gudla (JIRA)
To be able to access globals within functions
---------------------------------------------
Key: JBRULES-969
URL: http://jira.jboss.com/jira/browse/JBRULES-969
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: All
Environment: Drools version 3.0.6, Using Eclipse IDE and simple DRL file working with Global variables
Reporter: Natraj Gudla
Assigned To: Mark Proctor
Hello,
I am using Drools 3.0.6. While using a global variable in a function, the compiler complains it cannot resolve the global variable name. Something like below
global com.sample.ExampleLogger customLogger;
function void logMessage(String msg){
customLogger.logMessage("Log Message from the function");
}
In the above code, it complains "customLogger cannot be resolved". I am able to refer the global in the consequence of a rule directly. What is the problem using the reference within a function.
On the other hand, i am able to do something like
function void logMessage(ExampleLogger custLogger,String msg){
custLogger.logMessage(msg+" Accept gloabal as function parameter");
}
and call from the consequence of a rule : logMessage(customLogger); // I am passing the global to the function as an argument and then use it to log a message.
This way is working. But not the first way of using the global in the function. It would be a good feature to have the globals accessible within functions.
--
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
19 years