The Compliance Matrix Composer is a record page component for Applications and Placements. It answers the question "which compliance matrices apply to this engagement?", shows the answer with the requirements each matrix carries, and creates a single composed matrix plus a Compliance Assignment for the candidate in one click.
Matching is driven by fields on the Compliance Matrix itself. The matrix declares what it applies to; nothing needs to be configured on the account, site or job records.
The packaged matcher fields on Compliance Matrix are:
| Matrix field | Compared against |
|---|---|
| Account | Application/Placement > Job > Client Account |
| Site | Application/Placement > Job > Site |
| Job | Application/Placement > Job |
| Job Type | Application/Placement > Job > Job Type |
| Site State | Application/Placement > Job > Site > State |
| Contact State | Application/Placement > Candidate > Mailing State |
The rules:
The component always shows a "Checked against" strip - one chip per configured matcher with the level name and the engagement's resolved value, linked to the record for lookup levels (Site, Job, Job Type, Account). So even when nothing matches, it is visible exactly which levels were checked and against what.
Site State and Contact State share one global picklist of states with the Site object's State field, so state values always compare cleanly.
The component previews the composed matrix name (Candidate - Job - Site), lists each matched matrix with the criteria it matched on and its requirements, and the Create Matrix & Assignment button then:
matrixPath), ready for the Compliance Command Center.If an assignment already exists for the record (matched by Context Record Id), the component shows a link to its matrix instead of the button, so re-visits never create duplicates.
Once a matrix is assigned, the component shows the Compliance Console for the candidate, scoped to this record and its matrix, directly below the link, so you no longer need a separate Compliance Command Center under the composer. App Builder properties:
| Property | Default | Purpose |
|---|---|---|
| Hide Compliance Console | off | Tick to keep only the link. |
| Console Definition | blank (Default) |
Compliance Definition used by the console (columns, behaviour). |
| Console Height (px) | 800 | Height of the console. |
Pages that already have a Compliance Command Center below the composer will show the console twice: remove the Command Center, or tick Hide Compliance Console.
Record Id, optional Matcher Definition. Outputs: Compliance Matrix Id, Created (false when an assignment already existed) and Error Message (no candidate, no matching matrix...). Check Error Message in the flow for errors returned by the action. The action updates the record's Compliance Matrix lookup, so run it from a record-triggered flow's asynchronous path (or guard the entry criteria) to avoid re-triggering the same flow.The matching contract is metadata: one Compliance Matcher Definition custom metadata record per context object, since the contact, name and matcher paths differ between objects. Each record holds a JSON object in its JSON field:
{
"objectApiName": "b3o__Application__c",
"contactPath": "b3o__Candidate__c",
"namePaths": ["b3o__Candidate__r.Name", "b3o__Job__r.Name", "b3o__Job__r.b3o__Site__r.Name"],
"matrixPath": "b3o__Compliance_Matrix__c",
"matchers": [
{ "sourceFieldPath": "b3o__Site_State__c", "targetFieldPath": "b3o__Job__r.b3o__Site__r.b3o__State__c" },
{ "sourceFieldPath": "b3o__Job_Type__c", "targetFieldPath": "b3o__Job__r.b3o__Job_Type__c" }
]
}
objectApiName is the context object this definition targets.contactPath is the lookup to the candidate Contact on the context object.namePaths are the field paths composed into the new matrix name.matrixPath (optional) is a Compliance Matrix lookup on the context object itself; composing writes the new matrix Id there so components such as the Compliance Command Center can resolve it via their matrix path property.sourceFieldPath is a field on Compliance Matrix; targetFieldPath is a field path resolved from the context record.From Version 11.8.0, the Application and Placement records are supplied as separate setup metadata, available from 3B support. The managed package does not install them. Review existing definitions and deploy or recreate missing records before using the composer. Each default maps the six standard fields and identifies the Compliance Matrix lookup to populate on the context object. The component auto-selects the definition matching the page's object; its Matcher Definition property in App Builder forces a specific record instead. To change or extend matching, edit a definition or create a new one - for example, add a custom "Region" field to Compliance Matrix and to Site, then add the pair; or target an entirely different object (an ATS placement, a WFM engagement) with a definition record alone. Lookup matcher fields display their record name in the matched-on summary automatically.