The Expense Report process is now complete.
To run the ExpenseReport process:
- Click the
Start Engine icon (
) to start Studio's built-in process engine.
The
Start Engine dialog box appears.
- Check both the
Delete Process Instances and
Delete Log Files options, and click
OK.
- Click the
Launch WorkSpace (
) button.
- In the WorkSpace login page, log in as
Peter Jones.
- Click on
Create Expense Report in the WorkSpace
Applications panel.
- Fill out the form with sample information. In the SubmittedBy
field, enter Peter Jones exactly as you entered the login name. Add just one
item for $24 or less.
- Log out of WorkSpace and log in again as Paul Smith, the
participant with the supervisior role.
Because you entered an expense report totaling less than
$25, the instance should have gone directly to the Confirm Receipts activity.
Therefore, if the process is working correctly, Paul's
Work List panel should have no instances.
- Log out and log in again as Mary White, the treasurer role
participant.
Mary should have the ExpenseReport process instance in her
Inbox view in the
WorkList panel. You should see Confirm Receipts,
in the
Activity column.
- Excecute the Confirm Receipts activity by clicking on the
Execute icon (
).
The Check Receipts form opens in the browser. It should
show the item you entered previously, while logged in as Peter Jones.
- In the item line, check the ReceiptChecked checkbox, and click
Submit.
The form closes and the instance is removed from Mary
White's inbox.
Even though the Expense Report process is fairly simple, several
sequences are possible. Here you ran the instance through the "happier" path by
submitting an expense report for less than $25. You should try the following
scenarios:
- Total of more than $2,500 - The instance should go back to the
employee role.
- Total between $25 and $2,500, approved by supervisior and receipts
checked - this is the happy path.
- Total between $25 and $2,500, rejected by supervisor. - Goes back
to employee, who adds an explanatory comment.
- Total between $25 and $2,500, receipt not verified. - Goes back to
employee, who removes item.