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.
Last updated: 26th April, 2024 In this blog post, we will discuss the logistic regression…
Last updated: 22nd April, 2024 As data scientists, we navigate a sea of metrics to…
Last updated: 22nd April, 2024 This post will teach you about the gradient descent algorithm…
Last updated: 19th April, 2024 Among the terminologies used in training machine learning models, the…
Last updated: 19th April, 2024 Model parallelism and data parallelism are two strategies used to…
Last updated: 4th April, 2024 In machine learning, model complexity, and overfitting are related in…