Skip to main content

Configure Approval Policies

Configure who approves a request, in which order, and under which conditions. Approval Policies can route requests through managers, Additional Managers, Employee Segments, or a custom employee lookup field.

Who can use this?

HR Admins who configure the Approval Framework in Salesforce.

Before you begin​

  • You can access the flair HR app and Approval Policy records in Salesforce.
  • Identify the target object, employee field, approval-status field, and approvers for the workflow.

Open Approval Policies​

  1. In Salesforce, open the App Launcher (⋮⋮ grid icon), and search for Approval Policies.

    Approval Policies in the Salesforce App Launcher

  2. In the list-view selector, choose All instead of Recently Viewed.

    All selected as the Approval Policies list view

  3. Click the policy name.

    An Approval Policy selected from the list

Understand default Approval Policies​

flair creates 12 default policies during installation or upgrade. They are view-only and cannot be deleted, but you can disable them when using custom policies. A new default policy starts enabled; an upgrade keeps the enabled or disabled state you set.

Each default policy targets all employees and has one step:

PolicyApplies toApprovers
Default Absence PolicyPending absencesManager or Absence manager; the first approval completes the step.
Default Absence Change PolicyPending Employee Data Change Requests for an absenceManager or Absence manager; the first approval completes the step.
Default Certificate PolicyPending self-uploaded certificates with HR+Manager+Employee visibilityManager
Default Compensation Review PolicySubmitted Compensation ReviewsManager of the review's assessing manager
Default Document PolicyPending self-uploaded Employee Documents with HR+Manager+Employee visibilityManager
Employee Data Change Request Approval PolicyPending Employee Data Change RequestsManager
Default Employee Objective Create PolicyEmployee Objectives pending creation approvalManager of the responsible employee
Default Employee Objective Delete PolicyEmployee Objectives pending deletion approvalManager of the responsible employee
Default Expense PolicyPending expenses outside an Expense Group, and pending Expense GroupsManager
Default Shift Transfer PolicyShift Change Requests waiting for manager approvalManager or Shift manager; the first approval completes the step.
Default Time Entry Change Request PolicyPending Time Entry Change RequestsManager or Time entry manager; the first approval completes the step.
Default Timesheet Approval PolicyPending timesheets, from the day the timesheet period startsManager or Time entry manager; the first approval completes the step.

Manager is the direct manager of the employee on the request. The other approver types are that employee's Additional Managers with the matching responsibility. Employee Data Change Requests from a request form that doesn't require approval don't match either change-request policy.

The Approval Policies list view set to All, showing the 12 default approval policies

The Approval Policies list view set to All, showing the 12 default approval policies

Enable or disable a policy​

  1. Open the Approval Policy.
  2. Click Enable or Disable. The policy state changes without deleting its configuration.

Disable a policy to test a replacement, bypass its requirements temporarily, or switch workflows for a period.

Matching Priority belongs to each policy assignment, not to the policy. When assignments of several enabled policies match a request, flair uses the assignment with the lowest Matching Priority number and routes the request through that assignment's policy. If the numbers are equal, the newer assignment wins. For example, priority 1 for a management segment takes precedence over priority 2 for everyone else.

Configure approval steps​

  1. On the Approval Policy, open Steps.

    The Steps tab on an Approval Policy

  2. Configure the step fields:

    SettingWhat it does
    PositionShows where the step sits in the sequence in which flair processes steps. The field is read-only.
    NameIdentifies the step, such as Department Head Review.
    Approval TypeSets how many approvals complete the step: All need to approve, First approves the step, Specific number of approvers, Quorum (at least 2/3 of approvers), or Employee hierarchy (one level after another up the employee's management line; see Route approvals up the employee hierarchy).
    Rejection TypeSets when a rejection ends the step. First rejects the step is the available option.

    Name and Type fields on an approval step

  3. Under Approvers, select the approver Type:

    Approver typeSource
    ManagerThe employee's direct manager.
    Absence manager, Compensation manager, Expense manager, Time entry manager, Shift manager, Help desk manager, See employee data manager, HR managerThe employee's Additional Managers with that responsibility.
    Defined by segmentsEmployees, positions, departments, entities, or other segment criteria.
    Custom Employee LookupAn employee lookup field on the request record, entered in Employee Lookup Field API Name.

    Approver type options for an approval step

  4. Save the step.

Route approvals up the employee hierarchy​

With the Employee hierarchy approval type, a step asks one person after another up the employee's management line, such as the direct manager, then that manager's manager. Each request gets as many approval levels as its employee's hierarchy is deep.

  1. On the approval step, in Approval Type, select Employee hierarchy. The approver list is replaced by the hierarchy settings.
  2. In Hierarchy, select the line to follow: Manager, an Additional Manager type such as Absence manager, or Custom Employee Lookup. Defined by segments is not available here.
  3. If you selected Custom Employee Lookup, enter the API name of an employee lookup field on the Employee object in Employee Lookup Field API Name on Employee, for example Manager__c.
  4. Select Employee on the record approves first if the assignment's employee field holds an approver. Leave it cleared if the field holds the record's owner or submitter, so the hierarchy starts with their manager.
  5. Save the step.

An approval step with the Approval Type Employee hierarchy, the Hierarchy set to Manager, and the Employee on the record approves first checkbox

How flair processes the step:

  • The hierarchy starts at the employee in the assignment's Related Object Employee Field.
  • flair asks one level at a time, and the first approval completes that level. The next level is the person above whoever approved. When nobody is above, the step is complete, and flair moves on to the next step or approves the request.
  • Steps before the hierarchy step are processed first, and steps after it once the top of the hierarchy has approved.
  • A rejection on any level rejects the request.
  • flair skips anyone already asked on the step and the employee on the record, so a hierarchy that loops back still ends.
  • If flair finds nobody to ask on the first level, for example because the employee has no manager, flair treats the step like a step whose approver of the selected type is missing.
  • In Salesforce, Approval Path shows the levels in order under Up the hierarchy. It lists only the levels asked so far, because flair resolves each next level when the previous one approves.

Define approvers with Employee Segments​

  1. On the approval step, select Defined by segments.

    Defined by segments selected for an approval step

  2. Click Edit Segment.

    The Edit Segment action for approvers

  3. Filter by department, position, location, entity, employment status, or a custom employee field. Entity filters by the employee's assigned legal entity, so one policy can cover an entire entity instead of every location inside it.

    Filters for segment-based approvers

  4. Define the criteria, and click Apply filter.

    Segment criteria ready for Apply filter

  5. Select the approvers.

  6. Click Save. The selected people can approve this step.

    Approvers selected before saving the Employee Segment

Add multiple approvers to a step​

  • On the step, click Add Approver to add another approver.

The Add Approver action on an approval step

Depending on the step configuration, the first response can advance the request, all approvers can be required, or several approvers can review in parallel. Multiple approvers can also provide a backup when someone is unavailable.

Configure policy assignments​

  1. On the Approval Policy, open Assignments.

    The Assignments tab on an Approval Policy

  2. Configure the assignment fields:

    SettingWhat it does
    Related Object NameSelects the Salesforce object, such as Absences or Employee Documents.
    Related Object Employee FieldIdentifies the employee the request belongs to.
    Related Object Status FieldStores the request status.
    SOQL FilterOptionally limits when the policy matches.
    Matching PriorityDecides which assignment wins when several match; the lowest number wins.

Example SOQL filters include:

-- Only pending absences
flair__Approval_Status__c = 'PENDING'

-- Only vacation requests
flair__Employee_Absence_Category__r.flair__Absence_Category__r.Name = 'Vacation'

-- Only self-uploaded documents visible to HR, the manager, and the employee
flair__Visibility__c = 'HR_MANAGER_EMPLOYEE' AND flair__Self_Uploaded__c = true

Test an Approval Policy​

  1. Submit a test absence or Employee Document.
  2. Confirm that flair routes it to the intended approvers.
  3. Confirm that approvers receive the enabled email, Slack, Employee Hub, and mobile notifications.
  4. In the request, review Approval Path to confirm the steps.
  5. Repeat the test for multiple managers, matching Employee Segments, and fallback priorities.

Understand manager transfers​

When an employee's manager changes during a pending workflow, flair performs these actions:

  1. Marks the old manager's pending Approval Request as Skipped.
  2. Creates an Approval Request for the new manager.
  3. Notifies the new manager.
  4. Records the transfer in Approval Path.

The workflow continues with the current manager and keeps the prior assignment in its audit history.

A pending level of an Employee hierarchy step is not transferred. Later levels follow the hierarchy as it is when each level approves.

Troubleshooting​

Requests route to the wrong approver​

  • Confirm that the policy is enabled.
  • Confirm that the SOQL Filter matches the request.
  • Compare Matching Priority across matching policies.
  • Confirm that the approver matches the configured Employee Segment.

Several people receive the same request​

  • Check for Additional Managers.
  • Review the approvers on the step.
  • Check for overlapping enabled policies with the same priority.

You cannot edit a default policy​

  • Create a custom policy.
  • Disable the default policy when you want the custom policy to handle requests.