docs/system-admin-guide/manage-work-packages/work-package-workflows/README.md
A workflow in OpenProject is defined as the allowed transitions between work package status for a role and a type, i.e. which status changes can a certain role implement depending on the work package type.
This means, a certain type of work package, e.g. a Task, can have the following workflows: News → In Progress → Closed → On Hold → Rejected → Closed. This workflow can be different depending on the role in a project.
To edit a workflow, navigate to Administration → Work packages → Workflows. You will see an overview of all available work package types.
Select the type of work package for which you want to edit the workflow, e.g. Task.
Once opened, you can configure workflows for this type:
Select the role for which you want to configure the workflow. The workflow table will update automatically when switching roles.
Define which statuses are available for this type:
[!NOTE] If a status has no transitions configured, it will be removed automatically when saving.
Configure the allowed status transitions in the workflow table:
Optionally, define additional transitions:
Click Save to apply your changes. The Save button is always visible at the bottom of the page. If you try to switch roles or leave the page with unsaved changes, you will be asked to save or discard them.
If no statuses are configured for a role yet, an empty state is shown asking that you add statuses.
You can copy an existing workflow by clicking Copy in the workflow overview.
You will then be able to determine which existing workflow should be copied to which other workflow.
For example, select the source type (e.g. 'Task') and source role (e.g. 'Member') to copy the workflow from. Afterwards, select the target (e.g. 'Task') and lastly the role which will be 'Work package editor' to copy the workflow for:
You can also choose to use the workflows for the source type and role as the blueprint for multiple target types at the same time.
The copy of a workflow can later on be altered to better reflect the desired transitions between statuses for the edit role. You can also create the desired workflows from scratch.
You can get a summary of the allowed status transitions of a work package type for a role by clicking on Summary in the workflow overview.
You will then view a summary of all the workflows. The number of possible status transitions for each type and role are shown in a matrix.
[!TIP] For more examples on using workflows in OpenProject take a look at this blog article.