You can do this.
There is a property called ruleflowGroup. Associate this propert with all 3
of your rule. So now your Rule 1 has ruleflowgroup 1, Rule 2 has ruleFlow
group2 and rule3 has ruleflowgroup3.
Now create a rule flow.
create rule task 1. go to property tab. associate the ruleflowgroup1
Hi
I am exploring ruleflow. Can somebody help me in knowing how
RuleFlOWGROUP affects the performance of rules. Say i have 1 lakh rules.
what will be difference in performance if i keep all rules without any group
and if i group rules in diff small small ruleflowgroup and then create a
You could use RuleFlow, sure. But you don't have to.
Consider the following:-
*1) Intermediate facts
*
when
$p : Person( age 18 )
then
insertLogical( new Juvenile( $p ) );
end
when
$p : Person( age = 18 )
then
insertLogical( new Adult( $p ) );
end
when
Juvenile()
then
Please check if:
a) both classes are loaded by same classloader
- Are you using Drools in web-container or in OSGi?
b) you do not have multiple classes with same name on your classpath
- Do you have multiple drools JARs (possibly with different versions) on
classpath?
Ales
--
View this
Op 20/09/2013 21:23, Davide Sottara schreef:
Brecht, thanks for reporting this, but I don't think these are bugs.
Thanks for the explanations. I tested it to be sure and it works as
expected. The drools.agent.useKBaseClassLoaderForCompiling option
indeed fixes the issue unless the agent
Drools 5.5
Hey guys,
Is it possible to replace the session clock of an existing stateful knowledge
session (STREAM mode) while it is running or at least by pausing and restarting
it?
I need to feed old events into the session to restore a certain session state
before switching the sessions
Hello again,
Im making some kind of expert system. And now i got new problem:
User is asked sequentially for propetieries of object, than I modify object
propetieries, then i call update() and fireAllRules() to check for any
answers.
It is repeated for every object property till we fire rule
yeah you can do that, you can write rules about rules activations with the
declarative agenda feature.
Check this out:
http://planet.jboss.org/post/declarative_agenda_and_control_rules
On Mon, Sep 23, 2013 at 4:06 PM, Andrzej Grzelak andrzej.grze...@g.plwrote:
Hello again,
Im making some
Could you post an example rule and some code that uses it? It'll make it
easier to understand what you're trying to achieve.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Indicating-used-rules-tp4026093p4026095.html
Sent from the Drools: User forum mailing list
You might also try the new Belief System capabilities.. (JTMS and/or
Defeasible), see Mark's email/blog
about how to insert negative or defeated facts
On 09/23/2013 08:18 AM, Mauricio Salatino wrote:
yeah you can do that, you can write rules about rules activations with
the declarative agenda
Usually a set of rules fires all rules when you call fireAllRules. So,
what's keeping you from collecting the solutions derived from the
fired rules and presenting them in some order to the user?
If the sequental addition or update of properties is interleaved with
calls to fireAllRules I'd
If this is fixed, could you please explain how you fixed it? Thank you.
-Reposting after joining mailing list.
--
View this message in context:
http://drools.46999.n3.nabble.com/JUnit-Test-Mockito-AgendaEventListener-Problem-tp4025470p4026100.html
Sent from the Drools: User forum mailing list
12 matches
Mail list logo