[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1604) Reactivate only the rules that have the changed fields mentioned in LHS
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Sun Oct 5 23:02:21 EDT 2008
[ https://jira.jboss.org/jira/browse/JBRULES-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor closed JBRULES-1604.
---------------------------------
Resolution: Duplicate Issue
What you are after is a feature called "slot-specific" we have plans to add this later.
> Reactivate only the rules that have the changed fields mentioned in LHS
> -----------------------------------------------------------------------
>
> Key: JBRULES-1604
> URL: https://jira.jboss.org/jira/browse/JBRULES-1604
> Project: JBoss Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Suparerk Viriyakorkitkul
> Assignee: Mark Proctor
>
> When object is updated, the engine now will reselect the rules that mention to this object to the agenda.
> Can it has feature to select only the rules that never been activated and the rules that have the changed fields mentioned in LHS?
> For example,
> rule A
> when
> M(x =='1' || x=='2')
> then
> do something
> rule B
> when
> M(y=='1')
> then
> do something
> rule C
> when
> m:M()
> then
> m.setX('2');
> update(M);
> At first, M.x and M.y are '1', if the rules were fired in A, B, C order, for now, the rules selected in the second round would be A, B and C.
> Because only x changed, could it has a feature to make rule engine select only A?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list