class has students, what is the best way to design and manipulate this?



I'm practicing with bonita bpm and I am wondering what the best way is to design the following:

class has students

I know that I can create a
* business object 'class'
* with aggregate relationships to
* business object 'student'

Next step would be to create a new class and add members.

When I try to do this in the standard way as explained in the getting started tutorial,
It will relate the new class to newly created (and not existing) students.

So basically, my question is: what is the best way to design and manipulate this?

Your help is appreciated,

1 answer

This one is the BEST answer!

After exploring the possibilities in Bonita Studio,
I came to realize that the best solution might be to
just define classes and students as part of a bonita organization,
i.e. classes are groups and student is a role.
(I even can add custom userinfo like 'building')

I then can retrieve the necessary information via the Identity API.
Next to that students can now be actors in a task
(or being granted permissions for an application.)
Finally It also opens up possibilities for synchronizing with Active Directory

For more info see also this bonitasoft video