-
Notifications
You must be signed in to change notification settings - Fork 1
Camunda
Marco Lori edited this page Dec 11, 2018
·
4 revisions
The official Camunda documentation defines Camunda in the following way:
Camunda is a Java-based framework supporting BPMN for workflow and process automation, CMMN for Case Management and DMN for Business Decision Management.
We decided to use Camunda BPMN Model API because it offered a clean and easy way to extract data from existing BPMN models in Java.
To read a BPMN model, for instance, all we need to use is:
File file = new File("PATH/TO/MODEL.bpmn");
BpmnModelInstance modelInstance = Bpmn.readModelFromFile(file);And all we did to extract the number of occurrences of a specific element in the model is:
int numberOfTasks = modelInstance.getModelElementsByType(taskType).size();Once we gathered all the different datas from the BPMN model we were able to procede with the metrics computation.
Wiki
Component Architecture
Technology Used
Tests