Activity 3: Defining the Expense Report Object

Just about any process works on information of some kind. In this activity, we define a BPM object to contain information about the expense report itself, including its status in the overall process.

Ordinarily, you may not handle the expense report data with a BPM object. You might, instead, use a pointer, perhaps an ID to access a record in a corporate database. Nevertheless, you will always handle at least some information within the BPM process. In this activity we do this by defining a BPM object.

Note: To perform the tasks in this activity, Studio must be set to the Developer profile. If you want to learn only how to design the process diagram, you can skip this step and go on to Activity 4.

Expense Report Data

To begin, examine the expense report form that follows:

Figure 1. A paper expense report form

This is a simple form for submitting an expense report. In a paper process, the employee would submit this form along with the receipts for the items listed in it.

This form contains three sections:


Both header and footer contain simple fixed information fields--such as names, dates, a yes/no option, and so forth--while the items section contains a variable number of entries. Since the items section is a bit more difficult to implement, we begin with the fixed fields. As a preparatory step, we list these fields along and the type of data each contains. Gathering this information now will help us later when we actually define the expense report object in Studio.

Field Name Data Type
Submitted By String
Submit Date Date
Description String
Cost Center Integer
Total Money
Reviewed By String
Comments String
Approved Boolean