In both cases we used the plain drools rule engine and created the rule base within the application. For Drools it is actually pretty straight forward, we have two examples showing this: &. On the Business Rule Task you can add any Java logic to make that integration. So we normally leverage the BPMN 2.0 Business Rule Task ( !/tasks/business-rule-task) to hook in logic to call the BRMS. So best is to hook in Drools when you need it within the process application – as stateless service (from a SOA point of view I think it should even does not matter if you call the rule engine from within a process or from any service in your system). Meaning Business Rules are best handled by a Business Rules Management System (BRMS) – e.g. I personally believe strongly in a best-of-breed approach.
0 Comments
Leave a Reply. |