3.2.3. Activity life cycle
States for activities: INITIAL, READY, EXECUTING, FINISHED,
CANCELED
Mostly the same than in Bonita v3 but now this lifecyle applies
to any kind of activity: manual, automatic, subflow, route... hooks
are also associated to this activity life cycle.