How to implement Adaptive Case Management (ACM) with Bonita
This page explains how to enable Adaptive Case Management capacity in Bonita.
Adaptive Case Management is an approach to work that supports unstructured processes. The user is at the center of the process and ACM allows them to intervene to adapt to business situations and advance the case. Bonita brings together BPM and ACM by using the native flexibility of the Bonita platform and business rules to handle each case with its particular circumstances.
Adaptive Case Management with Bonita offers dynamic modeling of all process possibilities in a unified environment. It allows management of structured data through Bonita’s BDM capability, along with unstructured data such as PDFs and comments. Dynamic process actors, filters and profiles can be modified ad hoc. Customized user interface gives access to tasks according to context and we provide a Living Application for a seamless user experience connecting processes, business data and user interfaces.
For Subscription editions only. |
Enable ACM Engine Plug-in
The ACM engine plug-in registers an event handler at startup. This handler will be in charge of updating the acm variables of all the active tasks of a case each time a task is completed in this same case. An acm variable is a transient local variable prefixed with the $
sign. In the credit card dispute resolution example, there is only one acm variable named $activityState.
By default the event handler is not registered. To enable the event handler you must start the engine with the following argument:
-Dcom.bonitasoft.engine.plugin.acm.REGISTER_ACM_HANDLER=true
It can be achieved:
-
in Bonita Studio, in the Server settings preferences ( Edit > Preferences > Server settings > Check Enable ACM event handler )
-
in a Bundle:
-
either, using the setup tool, reach for the
bonita-tenant-sp-custom.properties
file (inplatform_conf/current/tenants/<TENAND_ID>/tenant_engine
folder if the server has already been started orplatform_conf/initial/tenant_template_engine
before the first start of the server) and add this linecom.bonitasoft.engine.plugin.acm.REGISTER_ACM_HANDLER=true
. -
or adding
-Dcom.bonitasoft.engine.plugin.acm.REGISTER_ACM_HANDLER=true
in setEnv.[sh|bat]
-
-
in the Docker image, by adding
-e 'COM_BONITASOFT_ENGINE_PLUGIN_ACM_REGISTER_ACM_HANDLER=true'
in your docker container creation parameters (See dedicate Docker page for more docker options)
ACM project example to import in Bonita Studio
On Bonita Studio Welcome page, in the "Resources" tile, click on "Import Adaptive Case Management example".
This opens the "Import .bos" wizard and retrieves the project from the Internet.
Choose the Bonita project in which the .bos will be imported in the studio, and import.
At the end of the importation, click on Deploy…, select all artifacts and Deploy. At the end of the deployment open the Credit Card Dispute application, and just start reading the Tutorial.
This will give you the theory as well as a practical example of an application using Bonita Adaptive Case Management capabilities.
You can play with it and customize it to your own needs.