Thank you all for the suggestions. It really helped me. I am able to achieve
my target.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-To-Implement-Rule-Flow-tp4025932p4026106.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
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
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
Does anybody have any alternative for this?
Is this scenario a valid one? Can this be achieved using drools and guvnor?
Any help very much appreciated.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-To-Implement-Rule-Flow-tp4025932p4026081.html
Sent from the Drools:
Does anybody have any alternative for this?
Is this scenario a valid one? Can this be achieved using drools and guvnor?
Any help very much appreciated.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-To-Implement-Rule-Flow-tp4025932p4026082.html
Sent from the Drools:
Hi All,
I am new to drools and guvnor. I have basic question for rule flow.
I have created 3 rules using guided editor on guvnor plugin. Now I want to
invoke the 2nd or 3rd rule based on the outcome of 1st rule.
e.g. If the patient's age is less than 18 go for 2nd rule for minor checks