SAMPLES
Scenario: a job application system
The job application system is fairly simple. It should allow a candidate to create and submit an application. The reviewer would then review the application and request interviews if the candidate is appropriate. Interviewer should be able to provide their feedback. If the candidate is accepted, an offer should be sent and if the candidate accepts it, his information should be passed to the hiring system.

The main entity in this application is the Application entity which contains all the relevant job application information about the candidate.
Entity Definitions

Application Entity Data Model
The corresponding state machine :

The assembly for the total solution looks like this:

The wsper files can be dowloaded here:
- Application Service
- BackgroundCheck Service
- Candidate Task
- Employee Service
- Scheduler Service
- JobApplication assembly