State machine - Referencing a division person
Description
The following state machine presents a division person creation process. The process starts with an INITIAL state. Throughout its creation process, the division 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.
Bareowners and beneficiaries put in the payload are given via the state machine "valuing a shareholder". It should be possible to add several Bareowners and / or beneficiaries in the same time.
=> 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 owner