Community mailing list archives

community@mail.odoo.com

BPMN 2.0 as a Workflow Engine Candidate

by
DevCO Colombia , David Arnold
- 11/30/2016 20:46:08
Hi Fabien

In a perfect world, Odoo 14 would support BPMN 2.0 notation in order to implement custom workflows within Odoo. Then, we could all celebrate the comeback of goodbysap.com as it would be the ultimate killer feature for large organizations.

Imagine the wealth of consulting opportunities for strong and professional partners besides developing customization modules.

Camunda, a german based company, implemented in big german names like Allianz, DB, Lufthansa, Telekom and Zalando (chapeau!) is going one step further, and if you have a thorough look at their repositories,


you will find that many components are open sourced. The key is to define proper interfaces to Odoo Models, which would be attached as data store reference. After all providing a subset of the model pool (of actual transactional documents) wouldn't be that hard, it's javascript.

Mapping scripting tasks to user provided actions and service tasks to python code actions could be a start. Manual actions could be represented just as the new MRP does provide fabrication instructions and user tasks, could simply be incorporated in a task engine, as a perfectly fitting extension to the messaging app. We would automate intra-company signaling and notifications, so the whole company can be modeled as one single control pool, well BPMN 2.0 standard thinking, after all. Cron jobs become cyclical script or service tasks, automated actions become time based or other catching events. With a new build in exception handling, this feature would be no more limited to the MRP module but applicable on all company processes. And no more python code for business rules: DMN 1.1

A complete set of templates, representing the current state of workflows and differentiating between default and standard processes would complete the pack to execute process driven adaptations on time and on budget.

Complete the actual state driven reporting with a (global!) workflow heatmap and nothing can stop Odoo.

Best Regards

David Arnold