I am developing few rules on guvnor plugin. e.g. To check
I have all these 3 rules working separately. But now I want to call them in a sequence.
Like if the person is teacher. Insert new Fact MaleTeacher. Then in next rule populate the age of teacher in the received fact. Then check the age of teacher.
So how can I achieve this in drools-guvnor plugin.
I have created these rules using guided editor in drools-guvnor5.5 plugin jboss. Is there any option to create the chain of rules execution.
Any help much appreciated.
If you really need sequential invocation of rules please take a look at agenda-group
and ruleflow-group
topics in the documentation.