Although our process at this point is still limited in what it can
do, you can nevertheless run it to get an early sense of the design and
simulation cycle.
To run the ExpenseReport process:
- Before running the process, it is a good habit to save your
project, so click
(
). If
Save All is not enabled, it means all the
files of your project are already saved, and you can skip this step.
- To run the process, click the
Start Engine icon (
) to start Studio's built-in process execution
engine.
The
Start Engine dialog box appears.
- Check both the
Delete Process Instances and
Delete Log Files options, and click
OK.
The
Progress Information box will appear during the
startup of the process engine, which takes some time to complete. Once the
engine has started, the box will close and the
Stop button (
) replaces the
Run button.
- Click the
Launch WorkSpace (
) button.
The AquaLogic BPM WorkSpace login page will appear in your
default Web browser.
- Log in as
Peter Jones.
The WorkSpace main page will appear for user Peter Jones.
Note that in the
Applications panel there is one entry called
Create Expense Report. This appears here because of the global creation
activity we added to the Employee role previously, and because Peter Jones has
the Employee role. If you click on this entry, you will create an ExpenseReport
instance.
- Click on
Create Expense Report in the WorkSpace
Applications panel.
An ExpenseReport instance is created. Since our process
contains no activities, the instance goes directly to the End activity and it
looks like nothing has happened.
- To see the instance you have created, click the
Open Search button (
) in the
WorkList panel.
The
Search pane of the
WorkList panel opens.
- Expand the
Show Instances section by clicking on the Show
icon (
).
The
Show Instances section expands.
- Check the
Completed option in the
status line, and click
Search.
The
WorkList panel will show the instance you
created in step 6. Note it shows the Activity as End, and the Status as
Completed (
).
- You can create more instances by clicking on Create Expense
Report as in step 6.
The instances appear automatically in the WorkList panel.
- We are done as Peter Jones for now, so log out of WorkSpace by
clicking Logout in the upper right of the page.
The logout page will appear.
- We now log in as Paul Smith, the supervisor, to see his view
of things. Click Re-Login and then in the login page, log in as Paul
Smith.
The WorkSpace session for Paul Smith appears. Note that
here, in the
Applications panel, Create Expense Report is
absent. This is because Paul has the role of Supervisor, and there is no global
activity in that swim lane. In fact there is no activity at all in the
Supervisor swim lane, so Paul can't do anything at this point.
- Log out of WorkSpace, close the browser window or tab where
WorkSpace is, and go back to Studio.
- Stop Studio's process execution engine by clicking the
Stop button (
).
The Run button will replace the Stop button.
After completing this task, you can begin to see
how the process design maps to process execution.