Approval Flow Overview

Prev Next

Approval Flow is a framework that enables organisations to design and enforce custom approval processes for Time Entries and Availabilities.

It allows for precise management of the approval journey, ensuring that records progress through clearly defined stages with appropriate permissions and validations. It provides fine-grained control over:

  • Stages – Steps in the approval journey

  • Transitions – Rules for how records move between stages

  • Validations – Automated checks before a stage change is allowed

  • Permissions – Who can perform specific actions

  • Audit history – Tracking every approval action

The below process outlines the steps to set up an Approval Flow for Time Entries.

Flowchart illustrating the approval setup process and time entry rules creation steps.

Key Components

The following table describes the core components of an approval flow.

Component

Purpose

Approval Flow Definition

A blueprint for the approval process that includes stages, transitions, and rules. Applied automatically based on Time Entry Rule or Availability Type.

Approval Flow Instance

A live copy of the definition attached to a record, tracking its stage, validation status, and history.

Stages

Status points in the process, defining ownership, permissions, and form locking.

Transitions

Defines the movement of records between stages in the approval process, including who is authorised to initiate the change and which validations must be completed before the transition occurs.

Validation Rules

Checks run before a transition, such as Dataverse queries (FetchXML), Custom APIs, or async events.

How Approval Flows Are Applied

Approval flows are applied automatically when records are created under a rule or type that is linked to an approval flow definition.

Time Entries

When a Time Entry is created under a Time Entry Rule linked to an Approval Flow Definition:

  1. The system automatically generates an approval flow instance.

  2. The record enters the default stage defined in the Approval Flow Definition.

  3. The Time Entry’s status is automatically synced with that stage.

  4. Any stage change must pass the configured validations before completion.

Availabilities

When an Availability is created under an Availability Type linked to an Approval Flow Definition:

  • The system automatically generates an approval flow instance.

  • The same rules apply as with Time Entries: default stage, status sync, and validations.

Automatic Status Sync

Each Approval Stage may be linked to a Time Entry Status or Availability Status.

When an Approval Flow moves into a stage, the associated status is automatically applied to the record, ensuring that the business process and record state remain aligned.

Approval Flow in Time Entry and Availability

Approval Flow actions and information are integrated directly within Time Entry and Availability records. This allows users to manage approvals without opening the Approval Flow Instance record.

Action Availability

The available actions, such as (Submit, Approve, Reject, Cancel, Close, and Reopen appear based on:

  • The current stage of the related Approval Flow Instance

  • The transitions available from that stage

  • The permissions defined in the transition configuration

Compact Action Form

Users can open a compact form to enter an Action Reason directly from:

  • The record form (Time Entry or Availability)

  • The grid view

  • The Time Entry Manager Control

Impact on Records

Approval flow may affect how records behave.

  • Locking Rules – Editing may be restricted according to the active stage’s Lock Record Updates and Submitter Can Edit Record settings, plus any Edit Lock Exceptions.

  • Status Sync – Record status is automatically updated to match the stage’s linked Time Entry Status or Availability Status.

Approval Flow Lookup

Each Time Entry and Availability has a lookup to its related Approval Flow Instance. The lookup is set programmatically when the instance is created and locked from editing.

Quick View Form

The quick view form displays key approval details such as:

  • Assigned To

  • Active Stage

  • Latest Action

  • Latest Action Status

  • Failed Validation Severity

  • Latest Action Reason

Additional View Columns

The following Approval Flow fields are added to Time Entry and Availability list views for quick visibility:

  • Active Stage

  • Assigned To

  • Action Reason

Best Practices

To use Approval Flow effectively:

  • Use the Quick View to check current status before taking action.

  • Keep Action Reasons clear and concise to help the next approver understand the context.

  • Remember that available actions are determined entirely by the Approval Flow Instance’s current stage and configured transitions. if an action is missing, check the Approval Flow Definition.