Meta-model

1
0
-1

Hi , I am using Bonita engine source code, I cannot understand the relation between the main component( Process , Process instance , Activity , Task , case ,variable , user, group , role) of the process engine API .Is there any meta model (UML diagram or other ) that helps me to understand how does it work .Acutely I used a reengineering tool to transform the code source to a UML diagram but the result was catastrophic .

2 answers

1
+1
-1

Sadly as far as I know such documentation does not exists. You might want to try to use a tool such as Doxygen that might be able to generate useful heritage classes diagrams. Did you already took a look at the Javadoc?

But basically you have two main categories: definition classes (e.g. Process, Task...) and then instances classes (ProcessInstance, TaskInstance...). Definition classes are used to represent what you create in Bonita Studio whereas instances classes are used to represent what happen at runtime when you execute a process.

For task you have a hierarchy of classes because BPMN define different type of tasks. For example a task that involve human interaction will have more information compare to a task that is executed automatically by the BPMN engine.

Edit: maybe the following inheritance diagram generated using Doxygen on https://github.com/bonitasoft/bonita-engine/tree/7.8.3/bpm/bonita-api/bo... can help: Inheritance diagram

Comments

Submitted by rodreg.sara_1393882 on Mon, 03/25/2019 - 19:50

yes i did look to the code source .also i used a reengineering tool to generate the diagram .unfortunately the engine API contains several class what makes the diagram incomprehensible.

Submitted by antoine.mottier on Mon, 03/25/2019 - 21:25

I just edit my answer to include inheritance diagram generated with Doxygen. I think it can help a little bit if you browse the generated documentation by Doxygen.

Submitted by rodreg.sara_1393882 on Mon, 03/25/2019 - 21:36

thank you for your help .I will try with Doxygen

1
0
-1

The two primary types are definition classes (such as Process and Task) and instances classes (such as ProcessInstance and TaskInstance).

https://github.com/bonitasoft/bonita-engine/tree/7.8.3/bpm/bonita-api/bonita-common-api doodle cricket

Instance classes are used to represent what occurs at runtime when you execute a process, whereas definition classes are used to represent what you develop in Bonita Studio.

Notifications