# Workflow

## How to Add Subprocesses

| ### What to do:
| As a prerequisite for the following example you must have completed the example Add and Connect Components and must have created at least one additional process template. In this example the additional process template is Check Demand.
| In the following example the process template Check Demand is added as a subprocess to a process in definition. The process template Check Demand may be structured as depicted below:
| Open the Purchase Requisition process in the Workflow Editor.
| In the Workflow Components section, select the Subprocesses tab. The Subprocesses tab contains all previously saved process templates.
| Add the Check Demand process template to the Grapher View window.
| Click the Main tab and add connection lines to the Grapher View window in order to integrate the subprocess Check Demand to the Purchase Requisition process.
| To save the entry click .
| The integration of the subprocess Check Demand may look like this:
| Double-clicking Check Demand will open the subprocess in the Grapher View window.
| Do not add a subprocess as a single independent process as this process would not start when being executed! Instead, it is required to integrate the subprocess into the existing workflow process!
| Subprocesses can be added to process templates as well!
| In the example the subprocess will start when the activity Create has been executed and the workflow reaches the subprocess.