
Chapter 5. Building the base scenario: Stage 2 205
5.7.2 Approval workflow
To bring our sample application closer to a real life scenario, we designed an approval
workflow that assigns different approval levels to the sales quote according to thresholds or
business rules that we prepopulate into the form.
Figure 5-15 illustrates an overview of the workflow and business logic contained within the
application.
Figure 5-15 Overview of workflow for sample application
The workflow is comprised of the following stages:
1. Template
2. Waiting for Manager Approval
3. Waiting for Director Approval
4. Approved
5. Rejected
6. Terminated
Open
form in
work-
basket ...