Hi Thong.
I personally believe strongly in a best-of-breed approach. Meaning Business Rules are best handled by a Business Rules Management System (BRMS) – e.g. Drools. 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).
So we normally leverage the BPMN 2.0 Business Rule Task (http://docs.camunda.org/api-references/bpmn20/#!/tasks/business-rule-task) to hook in logic to call the BRMS. On the Business Rule Task you can add any Java logic to make that integration. For Drools it is actually pretty straight forward, we have two examples showing this: https://github.com/camunda/camunda-bpm-examples/tree/master/order-confirmation-rules & https://github.com/camunda/camunda-bpm-examples/tree/master/twitter-drools. In both cases we used the plain drools rule engine and created the rule base within the application. This could be done more sophisticated in a real application or you can simply connect to Guvnor. It is just a few lines of code which you get on the drools docs. This works pretty well in our various real-life-projects with Drools…
Hope that helps?
Cheers
Bernd
Evangelist & Consultant
--
You received this message because you are subscribed to the Google Groups "camunda BPM users & process application developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
Hi Thong.
Wow – you had a serious delay in your evaluation ;-) Did you see that we introduced DMN decision tables with the latest release in Camunda? So you might not even need drools any more?
Cheers
Bernd
--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
camunda-bpm-us...@googlegroups.com.
To post to this group, send email to
camunda-...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/camunda-bpm-users/e38c6ed5-0ebb-4cec-8577-75399647ca59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.