State machine - Referencing an group person
Description
The following state machine presents a group person creation process. The process starts with an INITIAL state. Throughout its creation process, the group person object created could have the following state :
REFERENCED: object has been correctly sent and recordered into the BE, and, through its Id, can become referenceable by other object.PROVISIONED: once referenced, object can receive complementary informations, which are editable. Members put in the payload are given via the state machinereferencing a xxx person, where xxx corresponds to the concrete type of person (natural, company, union... )
=> Moving from REFERENCED to PROVISIONED state is done automatically.
NOTE : this state machine can not be activated in a standalone mode. It must be called by other state machine, like e.g.
creating a rental contract