Dynamic compliance matrices

Dynamic compliance matrices

Instead of maintaining one hand-built compliance matrix for every job or client, implementation teams can maintain a small library of templates and combine them when a candidate is engaged. This article describes that design pattern.

For the cloning, template and Flow-action mechanics, see Compliance matrix cloning and templates.

The problem this solves

Compliance requirements often come from several levels:

A separate matrix per job duplicates client-level requirements across many records. A single matrix per client makes role-specific requirements harder to manage. Template composition lets each level own its requirements while still producing one coherent matrix for an engagement.

  1. Create a template matrix for each compliance driver. Select Is Template when it should appear in the interactive template picker; matching itself considers every active matrix. A typical library includes baseline, account, site and job or role templates.
  2. Populate the matcher fields on each template matrix itself: Account, Site, Job, Job Type, Site State and Contact State. A matrix with only Account populated applies to that account; a matrix with Job Type and Site State applies only where both match. See Compliance Matrix Composer for matching rules and custom matchers.
  3. Choose the point at which the candidate's engagement is known, usually Placement creation or an Application reaching a defined stage.
  4. Either place the Compliance Matrix Composer on the engagement record for one-click composition, or run a record-triggered Flow that:
    • gets the related account, site and job or role
    • collects the Ids of matrices whose matcher fields match those records
    • calls 3B Create Compliance Matrix from Templates
    • creates a Compliance Assignment for the candidate and returned matrix Id
    • calls 3B Recalculate Compliance if immediate evaluation is required

The result is an engagement-specific matrix containing exactly the relevant requirements.

Choose the source objects

The Flow action is data-model independent. It only accepts Compliance Matrix Ids, so the implementation determines where those Ids are stored.

The rule of thumb: a matcher field on the matrix points at a value that drives a compliance requirement, and the trigger lives on the record that confirms a candidate has been engaged.

Ordering, duplicates and naming

Worked example

A staffing agency places a registered nurse at Northside Facility for Acme Hospitals.

Template Level Example requirements
Baseline compliance Company Right to work, identity document, references
Acme Hospitals Account Acme induction, occupational health form
Northside Facility Site Local fire-safety briefing
Registered Nurse Role Professional registration, immunisation record

The Placement-triggered Flow collects matching template matrix Ids in that order, calls 3B Create Compliance Matrix from Templates, names the result using the Placement reference, and creates a Compliance Assignment for the nurse. The Compliance Command Center then shows one combined list.

When to use applicability rules instead

Use requirement applicability rules when variation is candidate-driven, such as nationality or a role field on the Contact. Use template composition when variation is engagement-driven, such as the selected client, site or job.

The approaches can be combined. A Flow can compose the engagement's matrix, while individual template requirements still use applicability rules for candidate-level variation. Adding a new client or site is therefore a data change—create a template and set its matcher fields—rather than a rule-change across a large matrix.

Lifecycle considerations