A workflow watches one module, starts on a trigger, checks its conditions and runs its steps for you. Find, switch on and off, copy and delete workflows on the Workflows page.
A workflow does routine work for you. It belongs to one module (deals, invoices, employees…), starts on a trigger (a record was created, a field changed, a schedule, a button), checks its conditions, and then runs its steps: update a field, send an e-mail, ask for an approval, wait a few days, call another system, and more.
Where to find it
Open Sidebar → Admin → Workflows. The page lists the workflows of every module. You can also open a module in Entity Manager (admin screens call modules "entities") and click its Workflows tab: it opens the same list, filtered to that module.
You need a role with the Update permission on entities (the one that lets you change modules) to create or change workflows. People who can only view see the list and the editor with a View only badge.
The parts of a workflow
Part
What it does
Module
The records the workflow watches. Chosen when you create it.
Trigger
When it starts: after a record is created, updated or deleted, before a save, when a record is assigned, when someone runs it, on a schedule, on a signal, or on an inbox event. See Workflow triggers.
Conditions
Optional. The workflow only runs for records that match, for example only records whose Stage is Won.
Steps
What it does, in order. Steps can branch, loop, wait and retry. See the step reference pages.
On error
What happens when a step fails: skip it and go on (the default), or stop the run.
The Workflows list
Each row shows the workflow's label (or its name, when it has no label), a status, its description, the module, the trigger, the number of actions (steps) and, for scheduled workflows, the schedule and the next run. The page title shows how many workflows there are across all modules.
Status
Meaning
Active
Switched on. It runs when its trigger happens.
Draft
Switched off and has no steps yet. It never runs.
Disabled
Switched off. It keeps its steps but does not run.
Other badges: Conditional (it has conditions), Stops on error (the run stops at the first failed step), Last: and Next: (last run and next scheduled run).
Use Search workflows... (name, label, description and module) and the All entities, All triggers and All status (Active or Disabled) filters to narrow the list. Clear resets the search and the filters. All triggers lists only the triggers your workflows use.
Switch a workflow on or off
Click the switch at the end of the row. Only the on/off state changes; nothing else in the workflow is touched, and it takes effect at once. A message confirms it, for example "Follow up on new deals" is switched on.
A workflow needs at least one step before it can be switched on. From the list you see "An enabled workflow needs at least one action. Add an action, or keep the workflow turned off as a draft."; on the canvas, "Add at least one action before turning this workflow on.". In the canvas editor the switch is in the top bar, next to the trigger; there, publish afterwards so the change goes live.
Some workflows that come with an installed app only work as a set, for example one for "on create" and one for "on edit". Their rows say Works together with "…" — switched on and off together: switching one on or off switches the others the same way, and the message names them.
Makes a copy named "… (copy)" and opens it in the form editor. The copy is switched off ("Duplicated as "…" — it is off until you turn it on"), and it is never part of the original's set.
Delete
In the form editor (click the row), for people who can change workflows. Deleting cannot be undone.
The delete dialog (Delete "…"?) lists what the delete affects: paused runs (waiting on a delay or an approval) that will be cancelled, pending approvals that disappear from approvers' inboxes, background loops that will be stopped, and other workflows whose Trigger Workflow step will then fail. When something is still waiting, the button reads Cancel them and delete; otherwise Delete workflow. Cancel leaves everything as it is. Run history is kept either way. If an active workflow is deleted, matching records stop starting it at once.
If new work starts waiting after the dialog opened, a second dialog, Work is still waiting on this workflow, gives the counts of paused runs, pending approvals and background loops. Click Cancel them and delete or Keep workflow. After a delete, the message says how many runs and approvals were cancelled.
Run a workflow from a record
Switched-on workflows with the Manual trigger appear in the ⋯ menu of a record, by name, for people who can edit that record. Click one to run it on the record. A message tells you when it has completed, is waiting (for a delay or an approval), was skipped or failed, with a View run log link for people who can see workflows. While a run is in progress, its menu item is greyed out.
Limits and plans
Workflows depend on your plan, and so does the number of workflows you can create. Workflows that come with an installed app do not count. When you reach your plan's limit, Scratchboard shows a plan limit dialog: delete a workflow you no longer use, or see Admin → Subscription.
Good to know
A workflow runs in the background after a save, except Before Save workflows, which run during the save. See When workflows run.
Changes you make on the canvas can be saved as a draft first; the live version keeps running until you publish. See Workflow versions.