Skip to content

Workflow Templates

Workflow Templates define the approval process for documents and other records. Each template specifies the states a record passes through, the transitions between those states, and the approval rules that must be satisfied before a transition can occur.

  1. On the left sidebar, select Workspace settings.
  2. In the Workspace settings sidebar under Templates & Forms, select Workflow Templates.

The template list shows each workflow template’s name (with a Default badge on a default template), document type (All Types when it is not tied to one), version, number of states and transitions, how many documents use it, and the available actions (preview, edit, clone, set as default, delete). On narrower screens the document type, version and counts move to a line under the name.

  1. On the Workflow Templates section, select Create template (Create First Template when none exist yet).
  2. Enter a Template Name and Description for the template.
  3. Optionally select a Document Type to restrict the workflow to a specific document type. All Types applies it to every type.
  4. Optionally change the Version label.
  5. Check Set as organization default for this document type to use this workflow automatically for new documents of that type. Saving is refused while another active template is already the default for that type.
  6. Optionally pick Auto-Assign Training Groups: groups that are assigned training when a document reaches a training state.
  7. Under Approval policy, choose whether to Allow revert approval (QA can return an approved document to under review for amendment). It is on by default. An approved document is never rejected directly: revert it first.
  8. In Workflow design, define states, transitions and approval rules (see below). Click a state to edit it, drag from one state to another to add a transition, or use + Add state and + Add transition. On small screens the editor is a list of states and transitions with a read-only flow diagram instead.
  9. Select Create Template.

States represent the stages a record passes through. Common examples include Draft, Under Review, Approved, and Rejected.

For each state, configure:

Property Description
Internal name The state identifier (for example, “draft”, “under_review”)
Display name Human-readable label shown in the UI
Description What the state means, in plain language
Order and Color Position in the progression and the colour of its badge
Lifecycle phase Draft, Review, Post-approval, Training, Effective, Periodic review, Archived. More than one can apply (a Training state is also Post-approval)
Initial The starting state for new records
Terminal No transitions out; the workflow ends here
Allows edit The author can edit the document’s content
Allows new version The author can branch a new version
Requires approval Approve and reject signatures are required to leave the state

The Initial state cannot also be an Effective state: a new document would be effective as soon as it is created, with no approval and no signed release. Saving a new template with such a state is refused. A template that has one anyway, saved before this rule, cannot start a document: uploading a document onto it is refused before anything is saved, whether you chose the template or it is the document type’s or the organisation’s default, and moving a draft onto it is refused. Clone it (the copy drops the problem, see below) or choose another template.

Transitions define the allowed movements between states.

For each transition, configure:

Property Description
From state The state the record is currently in
To state The state the record moves to
Internal name and Display name Labels for the transition (for example, “approve” and “Approve”)
Description Optional explanation
Required permission (optional) A permission the user needs to run the transition
Auto transition Whether the transition runs by itself (see below). Unavailable on a transition into an Effective state
Requires comment The user must enter a comment when running the transition

Approval is set on states, not on transitions: see the next section.

An automatic transition runs by itself, with nobody selecting it, right after a document enters the transition’s From State, if the transition’s conditions hold at that moment.

  • An automatic transition never makes a document effective. Release is done with the signed Release — make effective step. The Auto transition box is unavailable on a transition into a state marked Effective, and a template that sets it there is refused on save. If a template saved before this rule has one, that transition does not run by itself: the document stays in the state before Effective. From a post-approval or training state, you release it with Release — make effective. Cloning such a template does not copy the automatic setting onto that transition. An approval never walks a transition into an Effective state either: if a template leads from an approval straight into Effective, the approval is recorded and the document waits in that state for Release — make effective. It never takes a later transition out of that state instead, such as a rejection back to draft. Approval is accepted only in a state marked as requiring approval or as a review state; a document in a post-approval, training or effective state that is not itself marked as requiring approval cannot be approved again. Completing the last required training does not make a document effective either: the document stays in its training state until someone signs Release — make effective.
  • Automatic transitions cannot form a loop. Saving a new template is refused, naming the states, when automatic transitions lead from a state back to itself, directly or through other states. If a template has such a loop anyway, saved before this rule or cloned from such a template, a document follows its automatic transitions only until the next one would take it into a state it has already been in during that run, and stops there.
  • A training threshold condition uses the release’s training gate. An automatic transition with a training threshold runs only when the document’s training gate is met and the completion percentage reaches the transition’s own threshold. Only active required assignments that are fully complete count: a record waiting for supervisor sign-off, a rejected record and a withdrawn assignment do not. A document with no required training assigned does not reach a threshold above 0%.
  • Every automatic transition is recorded in the audit trail. The document’s history and Timeline show it as a status change by System, with the state it left and entered, the user whose action started it and the transition that led to it. No person is recorded as having executed or signed it. If that record cannot be written, the automatic transition does not happen and the document stays where the earlier step left it.
  • A failed automatic transition is shown and can be retried. If an automatic transition cannot complete, the step that triggered it still stands and the document stays where that step left it. The document page shows Automatic workflow step failed, the failure is recorded in the audit trail as a system entry (with the transition and the kind of error, never the error’s text), and the document’s owner and everyone who can assign training (administrators, QA team members, Quality Managers and any role given that permission) get a notification. Anyone who can assign training (administrators, QA team members and Quality Managers) selects Retry automatic step on the document page to run the automatic transitions again from the document’s current state; the retry is recorded in the audit trail under their name. If it fails again, that is recorded too and the notice stays. Other users see the notice without the retry button.
  • Automatic transitions are checked on entry only. If a transition’s conditions do not hold when the document enters its From State, it does not run later when they come to hold.

Approval rules control who can approve a document in a state. Adding a rule to a state marks it as requiring approval, and Approve and Reject then appear on documents in that state.

For each rule, configure:

Property Description
Approval type Role-based (roles are listed) or User-specific (named people are listed)
Min required The number of approvals needed to satisfy this rule: a whole number of at least 1. Left empty, the rule needs every listed role or user when Require ALL approvers is ticked, otherwise one approval. The editor will not save 0 or a negative number
Require ALL approvers (overrides Min required) Every listed role or user must approve. Ticked by default on a new rule. On a user-specific rule it overrides Min required; on a role-based rule a Min required you set still decides how many approvals are needed
Require dual approval (segregation of duties) Role-based rules only. Every required role must be signed off by a different person (see below)

Each state can have one approval rule. Approvals are counted once per state, so two rules on one state could not each be met: saving a template with a second rule on a state is refused, with a message naming the state, and the editor shows the same message before you save. To ask for more than one kind of approver, put them in one rule: a role-based rule can list several roles (with Require dual approval for a separate person per role), and a user-specific rule can list several people.

A rule that names specific users must be one they can actually complete. Saving a template is refused, with a message naming the state, when a rule needs more approvals than it has active users from your organisation: for example when All Required is set and one of the listed users is deactivated, or when Min required is higher than the number of users listed. A user listed twice counts once. When a document starts approval, the same rule is checked again against that document, because users can be deactivated after the template is saved and the document’s author cannot approve it. A rule too few of its listed users can complete stops approval from starting, with a message saying why.

A role-based rule is checked when a document starts approval, not when the template is saved, because people’s roles change after that. Approval does not start when too few active users other than the document’s author hold one of the rule’s roles (an Admin always counts), or, for a dual-approval rule, when one of its roles has no such holder. Only users who can sign for it count: people whose role can approve documents, or, when the document names its own approvers, only those approvers. The message names the step and the role.

Require dual approval (segregation of duties)

Section titled “Require dual approval (segregation of duties)”

For a role-based rule, tick Require dual approval (segregation of duties) to demand that two or more distinct roles each sign off, and that no single person can satisfy more than one of them. Ticking it configures the rule to require all listed roles with no minimum-count shortcut; you then select the two (or more) roles that must approve — for example QA and Process Owner.

The rule becomes active only once at least two distinct roles are selected. When active, an approval by someone who already approved for another required role does not count twice — a separate qualified approver is required for each role. This is the standard control for GxP dual sign-off (for example dual QA approval of an SOP).

  1. On the template row, select Edit.
  2. Change the name, description, document type, training groups or approval policy.
  3. Select Update Template.

States, transitions and approval rules cannot be changed on a saved template, so documents on it keep the steps they started with. The editor shows them read-only, with a note saying so, and the version and default setting are read-only too (use the Set as default icon on the template row to change the default). To use different steps or approvers, create a new template with the states and rules you need, then move draft documents to it.

  1. On the template row, select Clone.
  2. Enter a name for the cloned template in the Clone Workflow Template dialog and confirm with Clone.
  3. The clone includes the states, transitions, and approval rules from the original. A shape the editor would refuse is not copied: an initial state that is also effective is copied as the initial state only, an automatic transition into an effective state is copied as a manual transition, and a loop of automatic transitions loses the automatic flag on one transition. If the cleared state was the template’s only effective state, the copy has no effective state, and nothing releases a document until you mark one Effective. The success message and the clone’s description say what was changed.
  4. The clone is a saved template, so its states, transitions and approval rules are read-only like the original’s; you can change its name, description, document type, training groups and approval policy.
  1. On the template row, select the Set as default (shield) icon. It is not shown on a template that is already the default.
  2. The selected template becomes the default workflow for its document type (or for all types, when it is not tied to one).

Only one workflow template can be the default for a document type at a time. The default template is automatically assigned to new documents that do not specify a workflow.

  1. On the template row, select the Preview icon (eye icon).
  2. Review the visual representation of workflow states and transitions.
  3. Close the preview to return to the template list.
  1. On the template row, select the Delete (trash) icon.
  2. Confirm in the Delete Template dialog. The template is removed from the list and can no longer be chosen for documents.

A template that documents are using cannot be deleted; the message says how many documents use it.

A typical document approval workflow:

State Type Description
Draft Initial Document is being authored
Under Review – Document is awaiting reviewer feedback
Pending Approval – Document is awaiting formal approval
Approved – Document has been approved and is ready to be made effective
Rejected Terminal Document was rejected and requires revision

With transitions:

  • Draft -> Under Review (Submit for Review)
  • Under Review -> Pending Approval (Submit for Approval)
  • Pending Approval -> Approved (Approve; the Pending Approval state carries an approval rule)
  • Pending Approval -> Rejected (Reject)
  • Rejected -> Draft (Revise)

Practical example: Create a controlled document approval workflow with dual sign-off

Section titled “Practical example: Create a controlled document approval workflow with dual sign-off”

Your regulatory team requires that all SOPs go through author review, department head approval, and sign-off by two different QA roles before becoming effective.

  1. Open Workflow Templates and select Create template.
  2. Name it “SOP Dual Sign-off” and set the document type to SOP.
  3. In Workflow design, add the following states:
State Display Name Settings
draft Draft Initial, Draft phase
dept_review Department Review Review phase, with a role-based approval rule listing your department head role, Min required 1
qa_review QA Review Review phase, with a role-based approval rule listing two QA roles and Require dual approval (segregation of duties) ticked
approved Approved Post-approval phase
rejected Rejected Terminal
  1. Add transitions:

    • Draft -> Department Review (“Submit for Review”).
    • Department Review -> QA Review (“Submit for QA Approval”).
    • QA Review -> Approved (“Approve”).
    • QA Review -> Rejected (“Reject”).
    • Rejected -> Draft (“Revise”).
  2. Select Create Template, then select the Set as default icon on its row to apply this workflow to all new SOPs.

Every SOP is reviewed by the owning department and signed off by two different people holding the two QA roles before it is released. Releasing it is a separate signed Release — make effective step.

Action Required Permission
View workflow templates Admin role
Create, edit, or delete templates Admin role
Set default template Admin role
Clone templates Admin role