> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.simplyprint.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Workflow rules: choosing which workflow applies, by account, label or product

Workflow rules in SimplyPrint decide which workflow a print, item or order follows: "every print job in the account", "anything labelled Rush", "every item made from the Spiral Planter". This guide covers the kinds of rule, where you set each one, which rule wins when several match, and how extra work adds tasks for some orders.

|| **Not live for everyone yet.** Workflows is rolling out to a closed pilot first, so some accounts won't see it yet. Once it opens up, it is part of the Print Farm, School and Enterprise plans.

A [published workflow](/en/article/building-editing-and-publishing-a-workflow-9pzfmw/) does nothing until a rule says when to use it. This article is part of the [Workflows guide](/en/article/workflows-the-stages-and-tasks-work-follows-after-it-prints-1gh5hy8/).

## Table of contents
- [What a rule is](#2-what-a-rule-is)
- [Adding a rule in Settings](#2-adding-a-rule-in-settings)
- [Rules from the Shop](#2-rules-from-the-shop)
- [Which rule wins](#2-which-rule-wins)
- [Extra work: adding tasks for some orders](#2-extra-work-adding-tasks-for-some-orders)
- [Rules that never apply](#2-rules-that-never-apply)
- [What changing a rule affects](#2-what-changing-a-rule-affects)

## What a rule is
A rule has three parts:

- **the workflow** it starts;
- **what it is for**: print jobs, Shop items, orders and so on;
- **where it applies**: everything in the account, anything with a label, or one product.

A workflow with no rules shows "This workflow is not attached to anything yet, so it will never start. Add a rule to say when it should be used."

## Adding a rule in Settings
1. Open **Settings > Workflows** and expand the workflow.
2. Under **When it is used**, click **Add a rule**.
3. Under **Applies to**, pick **Everything in the account** or **Anything with a label**.
4. For a label rule, type the **Label**.
5. Under **For**, pick what it is for. Only the kinds of work the workflow covers are offered.
6. Click **Add rule**.

![The "When should "Item finishing" be used?" dialog with Applies to, Label and For fields.](https://storage.crisp.chat/users/helpdesk/website/-/f/f/2/2/ff22a914001c1000/04-workflows-rules-wfruledialo_iyxtu7.png)

|| Only orders, order lines, production work and files have labels. A label rule on a print-job workflow would never match, so it isn't offered.

To remove a rule, click **Remove** next to it. New work stops using the workflow there; anything already running is unaffected.

When you add a [ready-made workflow](/en/article/ready-made-workflows-basic-post-processing-school-pickup-item-finishing-and-the-order-workflows-52kt51/), SimplyPrint offers to add a rule that uses it for everything of that kind.

## Rules from the Shop
Some rules are set from the Shop, because choosing them means picking a product:

- **Settings > Shop > Production** sets the **Default item workflow** and the **Order workflow** for the whole account. These are the same account-wide rules Settings > Workflows shows.
- **A product's page** has an **Item workflow** row: pick a workflow to override the account default for every item made from that product, or go back to the account default.

See: [Workflows in the Shop: order and item workflows, accepted pieces and moving on by itself](/en/article/workflows-in-the-shop-order-and-item-workflows-accepted-pieces-and-moving-on-by-itself-1tkpyzp/)

See: [Shop products: map store products to Projects, variants and CSV import](/en/article/shop-products-map-store-products-to-projects-variants-and-csv-import-mpv1bf/)

![A Shop product page (Spiral Planter) showing the Item workflow row with "Account default: Item finishing", the stage and task count, and the Extra work list.](https://storage.crisp.chat/users/helpdesk/website/-/f/f/2/2/ff22a914001c1000/04-workflows-rules-wfproductca_1uzrqyf.png)

## Which rule wins
When several rules match the same work, the most specific one wins. From most to least specific:

1. One order line
2. A product, or a label
3. A project item, or a plate
4. A project
5. A file
6. Everything in the account

So a product rule beats the account default, and the account default only applies where nothing more specific does. A rule for a workflow that can't follow that kind of work never shadows one that can.

||| If two rules at the same level match the same work, the newest one wins. The rules list doesn't say which one that is, so avoid two rules at the same level for the same kind of work.

## Extra work: adding tasks for some orders
Extra work adds tasks into a stage of whichever workflow wins, without a workflow per option. It is set on a product's page, under **Extra work** > **Add extra work**:

1. Pick the stage under **Add these tasks to**.
2. Add the tasks, for example Prime, Paint and Dry, and mark which are required.
3. Tick **One after another, in this order** if each must wait for the one above it.
4. Under **When does this apply?**, choose **Always**, or a condition such as **What the buyer chose** (a product option or paid add-on, for example Finish is Hand-painted).
5. Click **Add rule**.

Items ordered from then on get those tasks when the condition holds. On the run, **Why?** says "Added by a rule on this product or project."

See: [Working through a workflow: ticking tasks, notes, waiving, blocking and moving on](/en/article/working-through-a-workflow-ticking-tasks-notes-waiving-blocking-and-moving-on-7eyr9e/)

## Rules that never apply
A rule saved before SimplyPrint started refusing impossible rules may be tagged **Never applies**: "Nothing this workflow covers can be chosen this way." Remove it and add a rule of another kind. New rules like this are refused when you save them.

## What changing a rule affects
Adding, changing or removing a rule only affects work that starts afterwards. A run that has started keeps its workflow and revision to the end. To move one thing onto a different workflow, it has to start again, for example with a [reprint](/en/article/the-reprint-print-again-feature-1w9ocd1/).

## Related articles
### Workflows
- [Workflows: the stages and tasks work follows after it prints](/en/article/workflows-the-stages-and-tasks-work-follows-after-it-prints-1gh5hy8/)
- [How a workflow works: stages, tasks, conditions and checks](/en/article/how-a-workflow-works-stages-tasks-conditions-and-checks-yqf8sa/)
- [Building, editing and publishing a workflow](/en/article/building-editing-and-publishing-a-workflow-9pzfmw/)
- [Ready-made workflows: Basic post-processing, School pickup, Item finishing and the order workflows](/en/article/ready-made-workflows-basic-post-processing-school-pickup-item-finishing-and-the-order-workflows-52kt51/)
- [Working through a workflow: ticking tasks, notes, waiving, blocking and moving on](/en/article/working-through-a-workflow-ticking-tasks-notes-waiving-blocking-and-moving-on-7eyr9e/)

### Shop and Projects
- [Workflows in the Shop: order and item workflows, accepted pieces and moving on by itself](/en/article/workflows-in-the-shop-order-and-item-workflows-accepted-pieces-and-moving-on-by-itself-1tkpyzp/)
- [Shop products: map store products to Projects, variants and CSV import](/en/article/shop-products-map-store-products-to-projects-variants-and-csv-import-mpv1bf/)
- [Shop settings and permissions: import defaults, due dates, brands, production and access](/en/article/shop-settings-and-permissions-import-defaults-due-dates-brands-production-and-access-10ukvrr/)
- [Sizes, colors and variants in a project: options, variants, sets and SKUs](/en/article/sizes-colors-and-variants-in-a-project-options-variants-sets-and-skus-1k299kb/)

### Printing
- [The "Reprint" / "Print again" feature](/en/article/the-reprint-print-again-feature-1w9ocd1/)
- [The print queue: manage, schedule and automate your prints](/en/article/the-print-queue-manage-schedule-and-automate-your-prints-1syc86o/)