Adding the Check Company Policy Activity

In this task you will add an automatic activity that will perform a simple check on the expense report using a simple rule.

Here, we add the Check Company Policy automatic activity, but we do not implement it yet, because in the happy path we assume that the report complies with company policy. We will add other possible paths later on.

This is an automatic activity, so it can go in any swimlane. We will insert the activity in the employee swimlane for convenience. The Begin activity is now in this swimlane.

To add the Check Company Policy automatic activity:

  1. In the editor toolbar, click on the automatic activity icon (Automatic Activity icon 
				) and insert the automatic activity a bit to the right of the Begin activity. Note that as you move the activity around, the transition between the Begin and End activities is highlighted in purple. Place the activity right on the transition line while it is highlighted. The Activity dialog box appears.
  2. In the Name field, enter Check Company Policy, and click OK.
    Note: At this point Studio may ask you if you want to layout automatically the design as you add activities. If so, select the Do not show this message again option, and click No.
    The Check Company Policy automatic activity is added to the process.

After completing this task, your process design diagram should look like this:

Figure 1. Process with Check Company Policy activity.

Save your changes before proceeding to the next task.