[
https://issues.jboss.org/browse/DROOLS-3407?page=com.atlassian.jira.plugi...
]
Edson Tirelli commented on DROOLS-3407:
---------------------------------------
Rafael,
Not sure what the use case is, but maybe what you need is just to create an agenda for the
rule itself, and set the auto-focus attribute? This way, the rule will be automatically
activated and put on the top of the stack every time there is a change that
affects/reactivates the rule?
Need to use one rule in each one of the agendas efficiently in Kie
Drools 7.12
------------------------------------------------------------------------------
Key: DROOLS-3407
URL:
https://issues.jboss.org/browse/DROOLS-3407
Project: Drools
Issue Type: Enhancement
Components: core engine
Affects Versions: 7.12.0.Final
Reporter: Rafael Jordá
Assignee: Mario Fusco
Priority: Major
Labels: agenda, drools-tools, eclipse, rules
Fix For: 7.12.0.Final
Hi, I'm working in a project using Drools in Eclipse. I need to solve the following
issue and I was wondering if you could help me.
I have a rule that needs to be triggered in each one of the agendas that I've defined
in my drl file (it is a very important rule).
First, I tried not to set an agenda for that rule, but it only got executed at the end of
the last agenda.
So the only thing that came to my mind was defining that rule in each one of the agendas,
i.e., the same rule is repeated in all of them, which is not the most efficient solution.
Is this a normal issue? Is there a better solution?
Thanks.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)