For each business process definition (BPD) that you create, you need to declare variables to capture the business data that is passed from step to step in your process.
In a BPD like the sample that you can build using the instructions in this section, you need to capture the ID, amount, and status of each expense that is filed for approval. With variables, the users or systems involved in each activity have the information required to complete the step so that the process can move on to the next activity. For example, the managers involved in the Approval activity in the sample BPD cannot determine whether to approve an expense without knowing the amount.
| Variable | Description |
|---|---|
| Private | Private variables are local variables that are only used within the process. |
| Input | Input variables are mapped to values that you can pass into the current process. |
| Output | Output variables are mapped to values that you can pass out from the current process to a parent process. |
To declare variables for the sample Expense Reimbursement BPD:

To learn more about declaring and passing variables, see Declaring and passing variables.
For an example of how to pass the request variable as input to a Rule service, see Adding a Decision service to a process. For an example of how to use the request variable as output from a Human service, see Building a Human service.
See the following topic, Adding events to a BPD, to continue to build the Expense Reimbursement sample BPD.