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:
- baseline requirements apply to everyone, such as right-to-work and identity
checks
- client or account requirements apply to everyone working for that client
- site requirements apply only at a particular location
- job or role requirements apply to a particular type of work
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.
Recommended pattern
- 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.
- 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.
- Choose the point at which the candidate's engagement is known, usually
Placement creation or an Application reaching a defined stage.
- 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.
- 3B Onboarding standalone: use the account, job and application structure
used by the Onboarding implementation.
- 3B Onboarding with WFM: define custom matcher pairs against the WFM
account, site, job and placement fields, then trigger from the WFM Placement.
- ATS integrations: define matcher pairs against the partner ATS objects
that represent these levels and trigger from the engagement record.
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
- The action appends requirements in the order of the source matrix Ids. Pass
them from broadest to most specific, such as baseline, account, site, then
job.
- Duplicate source matrix Ids are ignored.
- Requirements are not deduplicated by name. Keep templates non-overlapping,
or use distinct names when similar requirements intentionally have different
rules.
- Set a deterministic matrix name in Flow, such as
{Candidate} - {Job} - {Site} or the placement reference.
- Generated matrices have Is Template cleared automatically.
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
- Template edits do not update existing matrices. Composition creates a
snapshot. Changes apply only to matrices created afterward.
- Choose a meaningful trigger point. Avoid generating a matrix for every
speculative application when compliance is only needed after placement.
- Preserve audit history. When an engagement ends, deactivate its Compliance
Assignment as normal. The generated matrix can remain for reporting.
- Make the Flow idempotent. Before creating a matrix, check for an existing
assignment whose context record is the same engagement. This prevents repeat
updates or data loads from generating duplicates.