Skip to content

Commit 25dea3b

Browse files
authored
Multiple workflows (#416)
1 parent 4e8b5b2 commit 25dea3b

File tree

3 files changed

+99
-36
lines changed

3 files changed

+99
-36
lines changed

docs/authentication/group-sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hide_title: true
55
description: Automatically provision project memberships based on identity provider groups.
66
---
77

8-
# Manage project access with IdP groups <Badge type="warning" text="Enterprise" />
8+
# Manage project access with IdP groups <Badge type="warning" text="Enterprise Grid" />
99

1010
:::info
1111
Group syncing is currently available on the self-hosted Commercial Edition and supports OIDC only. SAML and LDAP support is coming soon.

docs/core-concepts/projects/manage-project-members.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Users can become project members in two different ways, and understanding both h
145145

146146
Users can have both types of access simultaneously. When this happens, Plane automatically applies whichever role gives them higher permissions. For example, if someone is a `Guest` on your project but joins a linked teamspace, they're automatically upgraded to `Member` access. If they're already an `Admin`, they keep their `Admin` role.
147147

148-
## View project member activity <Badge type="warning" text="Enterprise" />
148+
## View project member activity <Badge type="warning" text="Enterprise Grid" />
149149

150150
::: info
151151
The Enterprise plan is currently only available for self-hosted instances. If you're interested in Enterprise features for your self-hosted deployment, contact [sales@plane.so](mailto:sales@plane.so) for pricing and licensing information.
Lines changed: 97 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
title: Workflows to control work item state transitions
3-
description: Set up Workflows to control work item transitions, require approval from specific reviewers, and ensure work follows your team's established processes.
3+
description: Set up workflows to control how work items move through states, define transition rules, and require approvals before work progresses.
44
---
55

6-
# Control your work item transitions <Badge type="tip" text="Business" />
6+
# Control how work items move <Badge type="tip" text="Business" />
77

8-
Workflows give you control over how work items move through your process. Think of it as creating guardrails that ensure work follows your team's agreed-upon path, with the right people making decisions at each step.
8+
Workflows give you control over how work items move through states in your project. Think of it as creating guardrails that ensure work follows your team's agreed-upon path, with the right people making decisions at each step.
99

10-
This means you can:
10+
You define which transitions are allowed, who can make them, and whether certain moves need approval before they take effect.
1111

12-
- Create clear paths for work items to follow.
13-
- Ensure important transitions are only made by the right team members.
14-
- Prevent work items from moving backward in your process unexpectedly.
15-
- Control which states can receive new work items.
12+
Every project has a single default workflow that applies to all work items regardless of type. On the Enterprise Grid, you can create additional workflows, each scoped to specific work item types, so different kinds of work can follow their own process.
1613

14+
:::tip
15+
If you already had a workflow configured before, it's now your project's default workflow. All your existing transition rules and reviewer settings have been preserved. You can edit them at any time from the Workflows settings page.
16+
:::
17+
18+
<!--
1719
<div style="position: relative; padding-bottom: calc(56.67989417989418% + 41px); height: 0; width: 100%">
1820
<iframe
1921
src="https://demo.arcade.software/F2dAIS5BLVXcbgWUCQgl?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true"
@@ -26,50 +28,111 @@ This means you can:
2628
title="Set up your workspace"
2729
></iframe>
2830
</div>
31+
-->
32+
33+
## Turn on workflows
34+
35+
Head over to your [Project Settings](https://docs.plane.so/core-concepts/projects/overview#configure-project-settings) and select **Workflows** from the sidebar. Toggle **Enable workflows** on at the top of the page.
36+
37+
Once enabled, you'll see your project's default workflow listed with **Default** and **Active** badges. This workflow is active by default and governs all work items in the project.
38+
39+
![Workflows settings page](https://media.docs.plane.so/workflows/workflows-settings-page.webp#hero)
40+
41+
The workflows list includes a search bar to find workflows by name. You can also filter the list by status (Active or Inactive) and by work item type, and sort it by name, date created, or date modified in ascending or descending order.
42+
43+
## Define a workflow
44+
45+
Whether you're editing the default workflow or a type-specific one, the workflow detail page works the same way. It lists all the states included in the workflow and lets you add flows that control how work items move between them.
46+
47+
### Add states
48+
49+
The default workflow includes all states configured in your project. When you create a new workflow, it starts empty. You choose which states to include by clicking **Add states** in the top-right corner of the "Define workflow" section. A panel lists all available project states grouped by category. Select the ones you need and click **Add selected**.
50+
51+
![Select states](https://media.docs.plane.so/workflows/select-states.webp#hero)
52+
53+
### Allow new work items
54+
55+
Each state has an **Allow new work items** toggle on the right side. When this is on, team members can create work items directly in that state. Turn it off for states that should only be reached through progression.
56+
57+
![Workflow states with allow new work items](https://media.docs.plane.so/workflows/allow-new-work-items.webp#hero)
58+
59+
### Add flows
2960

30-
## Set up your workflow
61+
Flows define the rules for moving a work item from one state to another. To add a flow, expand a state by clicking its arrow, then click **+ Add flow**. A panel appears on the right where you choose the flow type - **Transition** or **Approval** - then click **Next** to configure it.
3162

32-
Getting started with Workflows takes just a few minutes:
63+
You can add multiple flows to a single state, but they must all be the same type - either all transitions or all approvals.
3364

34-
1. Head over to your [Project Settings](https://docs.plane.so/core-concepts/projects/overview#configure-project-settings) and select **Workflows** from the right pane.
65+
#### Transition flows
3566

36-
2. You'll see all your workflow states listed. Each state represents a stage in your process (like "Backlog," "Todo," "In Progress").
67+
A transition flow defines a permitted state change. When you add one, you configure three fields:
3768

38-
3. For each state, you'll notice a toggle labeled **Allow new work items**. This controls whether team members can create new items directly in this state. Toggle it off for states that should only be reached through progression (like "Ready to Publish").
69+
- **via** - shows **Transition** to indicate the flow type.
70+
- **move to** - the destination state. Click to select from available project states on the right pane.
71+
- **by** - who can make this transition. Defaults to **All**, meaning any project member. To restrict it, open the Members panel and select specific individuals.
3972

40-
![Allow new work items](https://media.docs.plane.so/workflows/allow-new-work-items.webp#hero)
73+
![Transition flow](https://media.docs.plane.so/workflows/transition-flow.webp#hero)
4174

42-
4. Under the state, click **Add permitted state change** to define possible transitions.
43-
- When you click this option, a menu appears where you can select which states this work item can move to next. For example, from "Backlog," you might allow transitions to "Todo" or "Sprint Backlog".
75+
Click **Save** to confirm the flow, or **Discard** to cancel it.
4476

45-
![Add permitted state change](https://media.docs.plane.so/workflows/add-state-change.webp#hero)
77+
#### Approval flows <Badge type="warning" text="Enterprise Grid" />
4678

47-
- Click **Add reviewers** to specify Members who are permitted to make this change. If you don't add any reviewers, any team member can move items to this state.
79+
An approval flow adds a gate: the work item won't move forward until designated approvers accept or reject it. When you add one, you configure:
4880

49-
![Add reviewers](https://media.docs.plane.so/workflows/add-reviewers.webp#hero)
81+
- **via** - shows "Approval" to indicate the flow type.
82+
- **on approve, move to** - the state the item moves to when approved.
83+
- **on reject, move to** - the state the item falls back to when rejected.
84+
- **by** - who can approve or reject. Defaults to **All**, but you can restrict it to specific members.
5085

51-
5. Add all the state transitions your team needs, building out your complete workflow.
86+
![Approval flow](https://media.docs.plane.so/workflows/approval-flow.webp#hero)
5287

53-
6. When everything looks good, click the **Live** toggle at the top right to activate your workflow.
88+
For example, you might add an approval flow on "Testing" so that moving to "Ready for Release" requires sign-off from a QA lead. If rejected, the item moves back to "In Development" for further work.
5489

55-
7. The three-dot menu in the top-right provides additional options:
90+
### Activate the workflow
5691

57-
![Additional options](https://media.docs.plane.so/workflows/additional-options.webp#hero)
58-
- **Reset workflow**
59-
Removes all your custom workflow settings
60-
- **View change history**
61-
See a log of modifications made to your workflow
92+
Once you've defined all the states and flows you need, toggle the workflow on from the Workflows settings page to make it active. You can toggle it off at any time to pause enforcement without losing your configuration.
93+
94+
### Additional options
95+
96+
The three-dot menu on each workflow provides three options:
97+
98+
- **Edit** - update the workflow's name, description, or assigned work item types.
99+
- **View change history** - see a log of all modifications made to the workflow, including who made each change and when.
100+
- **Delete** - permanently remove the workflow. Work items previously governed by this workflow will fall back to the default workflow.
101+
102+
## Create a custom workflow <Badge type="warning" text="Enterprise Grid" />
103+
104+
A custom workflow lets you define separate rules for different kinds of work. For example, you might want bug fixes to go through a stricter approval process than feature work, or you might want improvements to skip certain states entirely. When a work item matches a type-specific workflow, that workflow takes precedence over the default.
105+
106+
To create one:
107+
108+
1. On the Workflows settings page, click **Add new workflow**.
109+
110+
2. Give the workflow a unique name and an optional description.
111+
112+
3. Under **Select types**, choose one or more work item types that this workflow will govern.
113+
114+
![Create new workflow](https://media.docs.plane.so/workflows/create-new-type-workflow.webp#hero)
115+
116+
4. Click **Create**.
117+
118+
You'll land on the workflow detail page, where you can [define its states and flows](#define-a-workflow).
62119

63120
## How workflows work
64121

65-
Once your workflow is live, you'll notice some changes in how work items behave:
122+
Once a workflow is active, work items in the project follow its rules:
123+
124+
**State creation restrictions**
125+
Items can only be created in states where **Allow new work items** is enabled. If a member tries to create a work item in a restricted state, they won't be able to.
126+
127+
**Transition enforcement**
128+
Members can only move items along the transitions you've defined. If someone tries to make a state change that isn't permitted, they'll see a blocker message explaining why.
66129

67-
- A special icon appears next to the state column, indicating a workflow is active.
130+
![Blocker message](https://media.docs.plane.so/workflows/blocker-message.webp#hero)
68131

69-
![Transition active icon](https://media.docs.plane.so/workflows/transition-change-icon.webp#hero)
132+
**Approval gates**
133+
When a work item reaches a state with an approval flow, it enters a pending state. Approvers see **Approve** and **Reject** buttons at the top of the work item detail view. The item moves to the appropriate destination based on the approver's decision.
70134

71-
- Items can only be created in states where "Allow new work items" is enabled.
72-
- Members will only be able to move items to the states you've permitted.
73-
- If someone tries to make a state change they're not authorized for, they'll see a blocker message.
135+
![Approve and reject buttons on a work item](https://media.docs.plane.so/workflows/approval-buttons.webp#hero)
74136

75-
![Transition blocker](https://media.docs.plane.so/workflows/transition-blocker.webp#hero)
137+
**Workflow precedence**
138+
If a work item's type matches a type-specific workflow, that workflow's rules apply instead of the default. For example, if you have a type-specific workflow for bugs, any bug in the project follows that workflow's transition and approval rules. All other work item types continue to follow the default workflow.

0 commit comments

Comments
 (0)