Hello, (I am a newcomer on Bonita ... I hope my question is not a stupid one :) )
Is it possible to organize packages and business objects in a hierarchy tree, so that dependencies/relations are easier to view in the Studio (just like class inheritance in Java). E.g. A 'Man' or a 'Woman' are both 'HumanBeing', so they should both inherit from 'HumanBeing' BusObj characteristics.
Thank you for you help !
Regards,
John
Configuration:
Bonita Community Edition / Version : 2021.2 / Version id : u0 / Build id : 7.13.0
Forgive me if I am wrong, but are you trying to add multiple references in Business Objects? If so, then maybe you can check out the documentation here. Let me know, if this helps.
Doing so, Man and Woman automatically include fields and references that are defined for HumanBeing and Mammal, while Cattle inherits from Animal and Mammal. Thus, when adding or removing a field or a reference from Mammal, it is automatically applied to all Business Object inheriting from it, either directly or indirectly.
From my understanding it can be done by using a relationship. To, achieve this you-
> Create a business object Mammal with attributes human and animal
> Create two business objects Animal and Humanbeing with attributes cattle in Animal and man, women in Humanbeing
> In the business object Mammal change the attribute human to type Humanbeing and type Animal for animal
> Change the relationship to composition and always load related objects
Let me know if this helps. To learn more about BDM in Bonita I would invite you to read our documentation here. You can read more about about composition and aggregation relationships there.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.