Example 2: Required and delegated approvers


When employee Javier submits an expense report, e-xpense sets the report status to Submitted, sets all approvers’ approval status to Pending, and sends an email to all three approvers. The three approvers are all required. They are Corin, Daisy, and Eve.

Corin delegated to Bob, who is now viewing the expense report. Up to this point, the following has happened.

The table below shows the possible actions that Bob can take and the effects that each action would have on the system.

If Bob does this...

Then e-xpense does this...

Nothing.

Nothing.

Approves.

Changes the report status to Approved.

Changes Corin’s approval status from Pending to Approved.

Sends email to Javier and Corin.

Rejects.

Changes the report status to Rejected.

Changes the approval status for Corin, Daisy, and Eve to Rejected.

Sends email to Javier, Corin, Daisy, Eve, and Sam.

Rejects, then changes his mind and approves.

Changes the report status to Partially Approved.

Changes Corin’s approval status to Approved.

Changes the approval status for Daisy and Eve from Rejected to Pending.

Sends email to Javier, Corin, Daisy, Eve, and Sam.

Changes, then approves.

Changes the report status to Approved.

Changes Corin’s status from Pending to Approved.

Sends email to Javier, Corin, Daisy, Eve, and Sam.

Changes, then rejects.

Changes the report status and the approval status for all approvers to Rejected.

Sends email to Javier, Corin, Daisy, Eve, and Sam.