First Drools BRMS to Hi-End ERP integration in the world

283 views
Skip to first unread message

redhuan d. oon

unread,
Apr 22, 2016, 5:44:57 PM4/22/16
to iDempiere

Recently Hiep LQ helped me to do a very early proof of concept to achieve integration of Drools in the core of iDempiere.
Drools is a business rule management system (BRMS).
In your source folder root just do a hg --repository <idempiere-source root> pull --verbose --force --branch drools https://bitbucket.org/hieplq/idempiere-hsv to fetch his trial drools branch to switch to. Buckminster Import Materialize again.
Read the README there (it is very crude so you got to be a real expert to try)
I made a real test case after removing his embedded test case of ZK Window Tab refresh and replace with my own fresh new plugin, able to call up the HelloWorld Impl code for both Rules and Decision Tables which exist as separate Excel table.
The magic part is that Excel format is now able to be used by Business users and Accountants to carve business rules, configuration and logic without ever touching the underlying code. I been dreaming of this for many years but finally Hiep helped me achieve it.
To learn more about Drools you can try out https://technicalmumbojumbo.wordpress.com/2009/03/28/jboss-drools-decision-tables/
Anyone who wish to collaborate on my hobby project can join in. (Experts only).
My next vision is to create a new ModelEvent interface and DRL set for the Excel table so that any model can interact with it where the DocEvent business logic will be entirely in the Excel table. By that we will achieve another POC milestone - separation of logic from core.
Then I will write out a wiki and forum blog on this.

Pedro Rozo

unread,
Apr 23, 2016, 6:35:41 AM4/23/16
to iDempiere
Great work guys, we are conducting a similar POC for this kind of rules-> Idempiere Integration scenario (still in progress),  have you considered/evaluated  also this open source solution perhaps?   http://openrules.com/pdf/OpenRulesGettingStarted.pdf

From our prelimnary review we decided to work with this one bcause it is a bit simpler than drools, but I would like to know your criteria to use it/business cases to chose drools ...so perhaps we can synchronize efforts in the future.

Regards

Pedro Rozo

redhuan d. oon

unread,
Apr 23, 2016, 7:23:55 AM4/23/16
to iDempiere
Show me your code. Then i will tell you something.

Hiep Lq

unread,
Apr 23, 2016, 8:19:26 AM4/23/16
to Mohemmed Bilal Ilyas

I can't find out code of openrules. Seem you have pay fee for code and access to latest version?
From openrules: "To download the latest complete version of OpenRules® you will need to register and pay a nominal fee (see why). You may also consider to start with a free but limited Evaluation version."

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/117618cf-d5cd-4190-82a0-3d11c4874943%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages