oh!
I'm so sorry... typos in XML are impossible to detect :(
Again, thank you so much for your help. I'll correct this and will use the
agenda-groups the way you suggested.
_ miguel
On Wed, May 5, 2010 at 10:01 AM, Wolfgang Laun wrote:
> How did you specify the agenda group in the XML? There
How did you specify the agenda group in the XML? There aren't much
checks being done in XML handling, so it's easy to slip up. Here's how
I interpret the XML schema:
...
-W
2010/5/5 miguel machado :
> Hi,
> Yeah, i think this might be a bug indeed. I just tried converting to DRL
> usin
Hi,
Yeah, i think this might be a bug indeed. I just tried converting to DRL
using the "dumper" and the agenda-group item doesn't show up in the
generated DRL file. It is possible that that this tag isn't being
interpreted for the same reason it isn't being converted into the DRL
format. Can someo
2010/5/5 miguel machado :
> Hi again,
> Thank you for clearing that up. I didn't think it worked that way because
> i've tried it before and it didn't work. Anyway, according to what you're
> saying...
> * this is the stack as soon as i insert my objects: | MAIN |
> * this is the stack as soon as i
Hi again,
Thank you for clearing that up. I didn't think it worked that way because
i've tried it before and it didn't work. Anyway, according to what you're
saying...
* this is the stack as soon as i insert my objects: | MAIN |
* this is the stack as soon as i setFocus on a specific agenda-grou
2010/5/5 miguel machado :
> Hi,
> First of all, thank you both for your answers.
>
> @Wolfgang:
> My problem is that i cannot have the different rule groups stacked. I may do
> as you suggested, but i'll have rules firing from other agenda-groups after
> the first agenda-group activations are all g
Exactly! That's precisely why i'm trying to find a workaround. I have no way
to activate a specific set of rules except for stacking up activations using
agenda-groups.
Any other suggestions?
Thank you.
2010/5/4 Mauricio Salatino
> if you use the new api's (5.x StatefulKnowledgeSession inste
Hi,
First of all, thank you both for your answers.
@mauricio:
I'm currently not using drools flow, only expert, so i'm not very familiar
with the approach you suggested. Isn't it possible to achieve this goal just
by using drools expert?
@Wolfgang:
My problem is that i cannot have the different
if you use the new api's (5.x StatefulKnowledgeSession instead of
workingMemory) you don't have that methods exposed.
2010/5/4 vasilievip
> You could manually activate and deactivate ruleflow groups using
> workingMemory.getAgenda().[de]activateRuleflowGroup(name).
> workingMemory.getAgenda().[
You could manually activate and deactivate ruleflow groups using
workingMemory.getAgenda().[de]activateRuleflowGroup(name).
workingMemory.getAgenda().[de]activateRuleflowGroup(name).
session.fireAllRules();
http://drools-java-rules-engine.46999.n3.nabble.com/Agenda-group-doesn-t-stay-set-td565
I've been using agenda groups without any trouble for a similar problem, doing
setFocus( ... );
insert( ... );... insert( ... );
fireAllRules();
repeatedly.
You don't have to be afraid of the focus stack growing indefinitely:You control
the "push" (setFocus()), and if an agenda group's activ
Hi miguel,
Did you try creating a new Drools Flow process with Rule Tasks inside it to
isolate each specific set of rules.
Then you can insert the facts into the working memory, start the process and
the rules will be executed secuencially.
You need to remember also that, if the rules are activated
Hi there,
I'm having some trouble implementing the desired workflow of rule firing in an
application using drools expert. I've read the thread about the difference
between ruleflow groups and agenda groups, but it is still unclear to me how to
achieve what i need.
What i intend to have is the
13 matches
Mail list logo