With agenda-groups we specify the stack execution order for each group, in the java code.
With ruleflow we instead specify the process id of the ruleflow:
Here you can see the ruleflow for the above process id, notice how "birth" and "kill" are executed in parallel:
This code is in trunk, and will be part of the next release for drools-examples.
From working on this example what has become obvious is we need support for sub ruleflows, so that we can have a parent ruleflow choreographing all the ruleflows in the application, which is currently being done from java code.

No comments:
Post a comment