In this chapter, we will create a small project to demonstrate how to use the business processes subsystem. As an illustration we will implement a contract approval process software.
Commonly an approval process involve the following steps:
- A user creates the Contract object, defines actors and initiates an approval process.
- An actor with the
Controllerrole receives the task to validate an attached contract. - If the validation is passed then the contract is transferred to the users with the
Managerrole assigned, otherwise the process will be terminated withNot validstate. - After the associated managers approve or reject the contract it turns, respectively, into the
ApprovedorNot approvedstate.

