To give you quick overview on what is referred to as Bonita here, Bonita is referred to as BonitaSoft BPM Tool. As per BonitaSoft corporate website, Bonita BPM improves business operations by connecting people, processes, and information systems into easily managed applications. The blog aims to highlight some of the aspects of Bonita BPM REST API and, some of the reasons due to which one would want to go with REST based integration with Bonita BPM.
Those of you working with BonitaSoft tool including Bonita Portal for accessing workflow applications on top of BonitaSoft workflow engine & Bonita Studio for creating workflows, may have been exploring to find out ways and means to have your custom apps having non-Bonita UI integrate with Bonita workflow engine as underlying workflow runtime. This integration can be achieved using multiple different ways including following:
BonitaSoft supports REST based integration with its workflow engine. Thus, the primary reason one would want to go for REST based integration with Bonita workflow engine is to still remain using your product UI while using Bonita workflow as an underlying engine. Otherwise, you may have to use BonitaSoft Portal Skins which may not align and streamline with your product UI.
Following are some of the things that you could achieve using REST based integration of your web application with Bonita workflow engine:
Following is a list of common tasks vis-a-vis APIs that one could use:
| Instantiage a process | /API/runtimeAPI/instantiateProcessWithVariables/[Process Name] |
| Set Process Variables | /API/runtimeAPI/setProcessInstanceVariable/[processName] |
| Delete Process | /API/runtimeAPI/deleteProcessInstance/[processName] |
| Complete a Task | /API/runtimeAPI/executeTask/[taskName]/false |
| Get a Task | /API/queryRuntimeAPI/getTask/[taskName] |
| Get Tasks for a User | /API/queryRuntimeAPI/getLightTaskListByUserId/[username]/READY |
| Get Variables for a Process | /API/queryRuntimeAPI/getProcessInstanceVariables/[processid] |
| Get Active Tasks | /API/queryRuntimeAPI/getLightTaskListByActivityState/READY |
Just to mention some of key categories of Bonita REST API:
The diagram below highlights the key APIs as mentioned above and the aspect of these APIs integrating Bonita and custom applications to the services container of Bonita engine.
Bonita architecture
We’ve all been in that meeting. The dashboard on the boardroom screen is a sea…
When building a regression model or performing regression analysis to predict a target variable, understanding…
If you've built a "Naive" RAG pipeline, you've probably hit a wall. You've indexed your…
If you're starting with large language models, you must have heard of RAG (Retrieval-Augmented Generation).…
If you've spent any time with Python, you've likely heard the term "Pythonic." It refers…
Large language models (LLMs) have fundamentally transformed our digital landscape, powering everything from chatbots and…