Create a workflow

Workflows let you define and manage the lifecycle of a record using configurable state transitions. This tutorial guides you through creating a comprehensive workflow that includes states like Draft, Routing for Approval, Approved, Rejected, and Obsolete with their associated transitions.

Creating a custom workflow helps you standardize your approval processes and ensures records follow the correct approval path based on your organization's requirements.

Before you start

To create and use workflows in Vera, you need to:

For detailed information about workflows, check out Manage workflows.

Create the workflow

To create a workflow, follow these steps:

  1. Sign in to the Vera web portal as an administrator.

  2. From the left pane, select Workflows.

  3. Select + Create workflow and complete the form:

    • Name: qTest Requirement Approval Workflow

    • Description: Workflow tutorial

    • Owner: your user account

  4. Select Save.

Add workflow states

Add the required states for your workflow:

  1. Go to the Workflow States tab.

  2. Select Add State and create the Draft state:

    • Name: Draft

    • Editable: ON (Checked)

    • Type: GENERIC

  3. Select Add State and create the Routing for Approval state:

    • Name: Routing for Approval

    • Editable: OFF (Unchecked)

    • Type: ROUTE

  4. Select Add State and create the Approved state:

    • Name: Approved

    • Editable: OFF (Unchecked)

    • Type: COMPLETE

  5. Select Add State and create the Rejected state:

    • Name: Rejected

    • Editable: ON (Checked)

    • Type: GENERIC

  6. Select Add State and create the Obsolete state:

    • Name: Obsolete

    • Editable: OFF (Unchecked)

    • Type: COMPLETE

  7. Select Save workflow.

Transitioning from a COMPLETE state to a GENERIC state increments the record revision number, such as Approved to Draft. Transitioning from a COMPLETE state to another COMPLETE state doesn't impact the revision number, such as Approved to Obsolete.

Add workflow route

Create the approval route that defines how records transition through the workflow:

  1. Go to the Workflow Routes tab.

  2. Select Add Route and complete the form:

    • Name: Standard Approval Route

    • Meaning: Approval

  3. Expand the Route Complete section and set:

    • State: Approved

  4. Expand the Route Rejected section and set:

    • State: Rejected

  5. Select Save workflow.

Add workflow triggers and actions

Configure the triggers and actions that define state transitions:

Set the default state

Configure the initial state for new records:

  1. Go to the Workflow Details tab.

  2. Set the Default State to Draft.

  3. Select Save Workflow.

  4. Select Activate to enable the workflow.

Apply the workflow to Record Types

To make records follow your custom workflow, you need to apply it to a Record Type or Records Management Policy (RMP).