State machine - Referencing an indivision person
Description
The following state machine presents a indivison person creation process. The process starts with an INITIAL state. Throughout its creation process, the indivision 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. ShareHolders put in the payload are given via the state machine "valuing a shareholder".
=> 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