# What a workflow is

> Build a workflow on a record type: switch it on, choose step types, set conditions, and know what is checked on save and how it starts.

A workflow is a process attached to one record type. It turns a record from something people fill in into something that is reviewed, approved and worked on. It is drawn on a canvas as steps joined by paths, in the record type's **Workflow** tab.

## Where a workflow is set up

Each record type's configuration has four tabs: **Main**, **Fields**, **Sections** and **Workflow**. The Workflow tab holds the **Enable workflow** setting for that record type. While it is off, the tab says so: *New records are created without a workflow.* While it is on, the workflow cannot be deleted.

Only org-admins and radp-admins edit workflows. You edit inside a checked-out module. On an installed module's record type, an edit makes your own copy; see [What you can change on an installed module](/docs/modules/installed-modules). The platform record types (Approval, Task, Group, User and Role) show their Workflow tab for reading only, because the system manages their configuration.

![The Workflow tab of a record type, with the Enable workflow switch turned off](https://d2h4673biudnkb.cloudfront.net/workflow/what-a-workflow-is/workflow-tab-switched-off-b8c13be5e7.png)

## Step types

Every workflow has exactly one **Start** and one **End**. Each step leaves by one or more paths, named for its outcome.

| Group | Step | Paths out | What it does |
| --- | --- | --- | --- |
| People | Task | outcome | Creates a task for a person or group and waits until it is done. The assignee can come from a link field on the record, with a fixed assignee as the fallback when the field is empty. |
| People | Approval | approved / rejected | Asks a person or group to approve or reject and waits. Assigned the same ways as a task. |
| People | Notification | default | Sends a message, with values from the record inserted, to the people in the record's user fields and/or everyone in chosen groups. |
| Data | Lookup | found / not found | Finds one record by a link field, an indexed field's value, or a record from an earlier step. |
| Data | Update record | success / failed | Sets fields on this record or an earlier step's record. |
| Data | Create record | success / failed | Creates a record. Its own workflow starts if it has one. Later steps can use it, for example its id to link back to it. |
| Data | Set state | default | Moves the record's State to a chosen value. A final value set here is where the record ends when the workflow finishes. |
| Data | Run function | done / failed | In a self-service app only: runs a function that has passed its tests, as the system, within its declared data access. Later steps can use its output. |
| Flow | Condition | yes / no | Checks one condition. |
| Flow | Switch | one per case, plus otherwise | The first case that matches wins. |
| Flow | Join | default | Brings parallel paths back together. It continues once, when the last path arrives. |
| Flow | Wait for condition | default | Pauses until a record meets a condition. It can have a deadline. |
| Flow | Delay | default | Pauses for a length of time (optionally business hours only), or until a date on the record or an earlier step's record, shifted earlier or later if you want. A date already passed, or an empty one, does not wait. |
| Flow | Retry | retry / exceeded | Loops back to an earlier step up to a limit, then takes *exceeded*. Use it to retry a failing step, or for rework: *rejected*, then Retry, then back to the step that redoes the work. |

Several paths leaving one outcome run in parallel. A parallel section inside another parallel section is refused.

The Tasks and Approvals inboxes exist in workspaces where people handle this work. In a self-service app they are not available, and the Run function step is.

## Values and conditions

- Use **Insert value** to put in fields of this record, values saved by earlier steps, the record number, who started the workflow, and **Today** or **Now** (in the business-hours time zone).
- A value from a step is only allowed if that step runs before the step using it, and the field must exist.
- A condition is *all* or *any* of up to 25 rules, with one level of groups. Text is compared without regard to case. A date matches any time on that day.
- An empty value makes a rule false, except "is empty" and the "not" rules. A condition therefore never stops a running workflow with an error.

## What is checked when you save

A workflow is refused on save unless all of these are true:

- There is one Start and one End.
- Every step has a path for each outcome it needs.
- Every path joins two real steps, from an outcome the step actually has.
- Every step can be reached.
- There are no loops, except through a Retry.
- Joins are placed correctly.
- Every step's settings and inserted values refer to real record types and fields.

## How a workflow starts

- When a record is created and its type has a workflow switched on, the workflow starts and the record shows **in review**.
- A record in the **active** state can also be sent with **Submit for Approval**. This needs the same permission as editing the record (update on its type, and on the record itself when the grant is "own"). Without it the start is refused.
- Where a record's workflow stands is shown only to people who can read the record.
- A workflow that is already running keeps the version it started with, even if an admin changes or swaps the workflow later. New starts use the current one.

![A record page showing the active state with Submit for Approval, Edit and Delete, and the Details, Associations and Audit Log tabs](https://d2h4673biudnkb.cloudfront.net/workflow/what-a-workflow-is/workflow-record-actions-33ad7ba4be.png)

## Rules that keep a workflow honest

- A record's **State** and **Number** cannot be set by hand, by quick actions or by dragging on a board. Only the workflow moves State: with a Set state step, and at the end. A final state already set is kept; otherwise the last final state is set.
- A record cannot be deleted while its workflow is running.
- A workflow's own record changes go through the same validation, locks and audit as a person's. A refused change takes the step's *failed* path and records the reason in the audit log.
- Every approve, reject and task completion is written to the record's audit history, with who did it and any comment.

## Where the work arrives

The Dashboard is the first place work shows up. It carries a **Tasks awaiting you** card and an **Approvals awaiting you** card, each with a count. When nothing needs you, they read *Nothing in your queue* and *Nothing to decide*.

![The Dashboard, with Tasks awaiting you, Approvals awaiting you and Entity types cards](https://d2h4673biudnkb.cloudfront.net/workflow/what-a-workflow-is/dashboard-work-queues-efd1a9b46f.png)

The work itself sits in two inboxes; see [Working through your tasks](/docs/inbox/tasks) and [Approving and rejecting](/docs/inbox/approvals).

**Tasks** holds work assigned to you, and anything your groups can pick up. It separates **MY TASKS** from **GROUP TASKS — AVAILABLE TO CLAIM**, and you can switch between **Assigned to Me** and **All Tasks**. Turn on **Show completed** to see finished work.

![The Tasks inbox, with My Tasks and Group Tasks available to claim](https://d2h4673biudnkb.cloudfront.net/workflow/what-a-workflow-is/workflow-tasks-queue-03596339c6.png)

**Approvals** holds the decisions waiting on you, split the same way into **My Approvals** and **Group Approvals — available to claim**, with its own **Show completed**.

![The Approvals inbox, with My Approvals and Group Approvals available to claim](https://d2h4673biudnkb.cloudfront.net/workflow/what-a-workflow-is/workflow-approvals-queue-01e4d1c87f.png)

An item in a group list is not yours yet. Claim it to take it on; until someone does, it stays available to everyone the group covers.

## Current limits

- There is no report or dashboard of deadlines and SLAs yet. Each record's timing history is recorded for one.
- There is no step-by-step history view. The record's status shows where it stands.
- A workflow that creates records whose own workflows create records has no depth limit.

Source: https://radp.io/docs/workflow/what-a-workflow-is
Last updated: 2026-11-30
