# Workflow

## How to Add and Connect Components

| ### What to do:
| In order to work through this example you must have completed the example Create a Process from a Process Template.
| The following example describes how to add components to a process, thus modelling a simple workflow process. The procedure described is the same for all workflow components (e.g. additional activities, resources, connection lines, process variables, subprocesses and operators). Components have to be selected from the appropriate tabs!
| Select Start > Workflow > Processes in Definiton.
| Search for the process Purchase Requisition and click . The Workflow Editor is opened. The Grapher view window for Purchase Requisition is empty, because the process does not contain any components.
| The next step is to add components to the Grapher View window and modell the process.
| In the Workflow components window, click the Main tab. This tab contains essential components of a workflow process.
| Click the start image . The start image is highlighted in green color.
| Click in the Grapher View window to insert the start image.
| Alternatively, you can use drag&drop to move workflow components to the Grapher View window!
| Click the Activities tab of the Workflow components window and add Create to the Grapher View window.
| In the Main tab click a connecting line and connect the start sign with Create in the Grapher View window.
| If there are no components in the Grapher View window, connecting lines can only be added via the drag&drop functionality!
| Add the stop image to the Grapher View window and connect Create with the stop image.
| To save the entries click .
| The process in the Grapher View window should look similar to this:
| To better arrange the components you can click and use the dots that are displayed in the Grapher View window.
| Each workflow process is checked semantically when being saved. In case of errors, a message box is opened, displaying the reason for the error and indicating the missing components!