The Compliance console (marketed as the Compliance Command Center) is the
credentialing review screen in 3B Onboarding (b3o). For a single candidate it
renders everything that decides whether they are compliant: a compliance ring
and status pills at the top, a requirement list grouped by category on the left,
and a split detail pane on the right showing requirement guidance, the matched
evidence records, an inline file preview, a submission preview, and the
Approve / Reject / Waive / Check actions. Specialists also get an Open record
link next to the item title that opens the underlying b3o__Compliance_Item__c
record in a new tab (hidden in candidate mode).
It is the front end for Compliance v2, the reportable, object-based compliance model in b3o. Unlike the older approach, every status, expiry date and approval lives on a real Salesforce record, so all of it is reportable and can drive Flow.
The console serves every vertical b3o supports: Healthcare (registrations, immunisations, right-to-work), Education (DBS/background checks, safeguarding sign-off), Blue-collar and Misc (tickets, inductions, licences). What "compliant" means for each is defined entirely in configuration, not code.
A candidate's onboarding evidence is scattered: some sits in form responses, some in generated or e-signed documents, some in certificates, some in checklist ticks a specialist performs by hand, and some in files attached to the contact. A compliance specialist needs one screen that pulls all of it together, tells them exactly what is outstanding, lets them look at the real evidence, and lets them approve, reject or waive each item with a full audit trail. They also need the result to be reportable, so a manager can run "candidates not yet compliant for this matrix" without exporting anything.
The console is that screen. The same app also runs read-only in candidate mode, so a candidate can self-serve (see their status, and where allowed add a certificate) without ever seeing specialist controls.
The console is one screen reused everywhere. Place it with whichever wrapper matches where the reviewer or candidate works.
| Placement | What to use |
|---|---|
| Visualforce page | The managed ComplianceConsole Visualforce page hosts the console directly. Use it for a standalone URL or deep link (for example /apex/b3o__ComplianceConsole?id=<contactId>&matrixId=<matrixId>). |
| Lightning App Builder / record page / Community page | The native Compliance Command Center component. Drop it on a Contact, Application, Placement or Compliance Assignment record page (internal), or on an Experience/Community page. It resolves the contact and matrix from the host record, makes sure an assignment exists, then renders the console. Placement targets: Lightning record pages and Community/Experience pages. |
| Candidate self-service | The Candidate Compliance Screen and Contact Compliance Screen components surface the same candidate view for community or internal placement. |
| Digital Experience | Embed the Visualforce page in an Experience Cloud page for community or guest candidates. |
Matrices and requirements are not authored in the console. Use the native Compliance Matrix Manager component on the Compliance Matrix record page to build requirements, and the Edit Rule quick action on a Compliance Requirement to edit its applicability or auto-check rule.
The native wrapper resolves the candidate and matrix from the record it sits on, using two relationship field paths you set in App Builder.
| Property | Default | What it does |
|---|---|---|
| Contact path | b3o__Candidate__c |
Relationship path walked from the host record to the candidate Contact. On a Contact record page this is ignored and the record itself is used. |
| Matrix path | b3o__Job__r.b3o__Compliance_Matrix__c |
Relationship path walked from the host record to the Compliance Matrix. |
| Definition name | blank | Exposed in App Builder, but not honoured in Version 11.1.0 because the wrapper and console use different URL parameter names. Native placements use Default. |
| Height | Height of the embedded console. |
On a Compliance Assignment record page the wrapper targets that assignment
directly. On other records (Application, Placement, and so on) it also scopes
the console to assignments stamped with that record via Context_Record_Id__c.
On a Contact (no assignment / context id) the console loads every active
assignment of the contact; when there is more than one, a Compliance matrix
dropdown under the header switches between them (newest first, no reload).
When you host the console on the Visualforce page directly, these are URL parameters. The native wrapper sets them for you.
| Parameter | Purpose |
|---|---|
id |
Context Contact Id (the candidate). In a Community/Digital Experience this resolves automatically from the logged-in user's Contact. |
sessionKey |
Guest session key for the contact. Required for guest access; see Access below. |
assignmentId |
Render one specific Compliance Assignment. |
matrixId |
Scope the console to a specific Compliance Matrix. |
contextId |
The Application / Placement Id (Context_Record_Id__c) to scope assignments to. |
mode |
candidate requests the read-only candidate view. This is cosmetic only, candidate mode is always enforced server-side. |
themeType |
light (default) or dark. Other values fall back to light; see Design system and theming. |
definition |
Optional DeveloperName of the Compliance Definition metadata record to use for a direct Visualforce placement. Blank uses Default. |
Configuration has three layers: the matrix and its requirements (what
compliant means), the evidence configuration JSON on each requirement (how
evidence is matched), and the console definition metadata (which evidence
objects, columns, labels and behaviours the console renders). All API names
below carry the managed b3o__ prefix in a subscriber org.
b3o__Compliance_Matrix__c (the definition)One record per definition of "what does compliant mean". Can be global or specific to a job, site or client.
| Field | Type | What it does |
|---|---|---|
Name |
Text | Matrix title shown in the console header. |
b3o__Active__c |
Checkbox (default true) | Inactive matrices are skipped by the compliance engine. |
b3o__Description__c |
Long text | Internal description. |
b3o__Scope__c |
Picklist (Global, Job, Site, Client, Other) | Informational and for reporting only. |
b3o__Definition_Name__c |
Text(255) | DeveloperName intended to select the b3o__Compliance_Definition__mdt record that supplies console behaviour. In Version 11.1.0, native placements load Default because this value is not passed to the embedded console automatically. |
b3o__Passing_Score__c |
Number (default 0) | Optional weighted scoring threshold. 0 means pure mandatory-item compliance (no scoring). |
b3o__Is_Template__c |
Checkbox (default false) | Offers the matrix's requirements as reusable building blocks in the Compliance Matrix Manager and identifies it for template-composition Flows. |
Version 11.5 retires the Job-level Compliance Matrix lookup. Instead, matching is declared on the matrix and can compose the applicable matrices for an Application or Placement. See Compliance Matrix Composer.
b3o__Compliance_Requirement__c (one row per requirement)Child of the matrix (master-detail). Each requirement is one thing the candidate must satisfy. Everything reportable is a field; only the evidence matching and conditional logic are JSON.
| Field | Type | What it does |
|---|---|---|
Name |
Text | Requirement name, for example "DBS Check", "TB Immunisation". |
b3o__Compliance_Matrix__c |
Master-detail | Parent matrix. |
b3o__Order__c |
Number | Display order in the console list. |
b3o__Category__c |
Text(255) | Grouping heading in the console and a reporting dimension (for example "Licences", "Background"). |
b3o__Type__c |
Picklist | Record Check / Checklist Item / Manual. Determines how the requirement is satisfied, see below. |
b3o__Is_Mandatory__c |
Checkbox (default true) | Non-mandatory requirements do not block full compliance. |
b3o__Weight__c |
Number (default 1) | Score contributed when compliant (used with Passing_Score__c). |
b3o__Candidate_Visible__c |
Checkbox (default true) | When false, the requirement is hidden from the candidate view entirely. |
b3o__Client_Visible__c |
Checkbox (default true) | When false, the requirement is hidden from the client view entirely. See Candidate and client modes below. |
b3o__Approval_Required__c |
Checkbox (default false) | When true, matched evidence still needs specialist verification before it counts. |
b3o__Expiry_Warning_Days__c |
Number (default 30) | Days before expiry at which an item is flagged expiring soon. |
b3o__Effective_Date__c, b3o__Grace_Period_Days__c, b3o__Grace_Date_Field__c, b3o__Due_Anchor_Field__c, b3o__Due_Offset__c, b3o__Due_Offset_Unit__c, b3o__Renewal_Frequency__c, b3o__Renewal_Unit__c, b3o__Due_Date_Rule__c, b3o__Action_Fields__c |
Various | Effective dating, grace period, post-hire due dates, renewals, due date rules and the fields completed on approve / reject / waive. See Compliance dates. |
b3o__Guidance__c |
Long text | Instructions shown in the console detail pane (specialist and candidate). |
b3o__Guidance_Extended_Details__c |
Rich text | Optional expanded guidance shown with the requirement details. |
b3o__Hide_When_Not_Applicable__c |
Checkbox | When true, an excluded requirement is not materialised or shown. When false, it remains visible as Not Applicable without affecting compliance. |
b3o__Applicability_Rule__c |
Long text (rule JSON) | Rule that decides whether this requirement applies to the candidate. Blank means it applies to everyone. See below. |
b3o__Applies_on_Successful_Rule_Evaluation__c |
Checkbox (default true) | When true the requirement applies when the rule passes; when false the meaning is inverted. |
b3o__Auto_Check_Rule__c |
Long text (rule JSON) | Checklist items only. When this rule evaluates true, the engine ticks the item automatically. |
b3o__Evidence_Configuration__c |
Long text (JSON) | How to find matching evidence. Record Check type only. See below. |
From Version 11.8.0, migrate existing Document requirements to Record Check, preserving their Document Submission evidence configuration. The engine no longer evaluates evidence for the Document type. Update related automation and recalculate affected assignments.
| Type | How it is satisfied |
|---|---|
| Record Check | The candidate must hold at least N matching records of a chosen object (certificates, immunisations, references, document submissions, or any object you add to the evidence catalog). Configured with b3o__Evidence_Configuration__c. A b3o__Document_Submission__c can be filtered to a specific requested document; its underlying form response, assessment scorecard, generated document or e-sign record drives the preview. |
| Checklist Item | A tick box for the specialist (or the candidate, where allowed). An optional b3o__Auto_Check_Rule__c lets the engine tick it automatically, for example when a Contact field is populated. |
| Manual | The specialist creates and manages the item state directly in the console (waive or approve with no evidence object). |
Manage requirements with Compliance Matrix Manager on the Compliance Matrix record page.
See Compliance matrix cloning and templates for the complete interactive and Flow-based workflow.
The Compliance Matrix Composer matches every active matrix whose populated matcher fields (Account, Site, Job, Job Type, Site State and Contact State) equal the corresponding values on an Application or Placement. Blank matcher fields are wildcards; a matrix with no matcher fields does not match automatically. Several matrices can match one engagement and are composed into one candidate matrix and Compliance Assignment.
Matching is configured with one Compliance Matcher Definition custom-metadata
record per context object. Its JSON declares the candidate path, matrix path,
name fields and matrix-to-context matcher pairs. The packaged definitions cover
Applications and Placements; implementation teams can add other context objects
without code. The composer stamps the result on the configured context record
and does not create a duplicate when that context already has an assignment.
b3o__Compliance_Assignment__c (candidate to matrix)One record links a Contact to a Matrix ("who is measured against what"). It is master-detail to Contact and a required, restrict-delete lookup to the Matrix. Because it is deliberately not a junction object, its counts below are native roll-up summary fields, so they are always live and fully reportable.
| Field | Type | What it means |
|---|---|---|
b3o__Contact__c |
Master-detail | The candidate. |
b3o__Compliance_Matrix__c |
Lookup (required, restrict delete) | The matrix the candidate is measured against. |
b3o__Context_Record_Id__c |
Text(18), external id | Optional Id of the Application / Placement / ATS record this assignment belongs to. |
b3o__Unique_Key__c |
Text(255), unique external id | {matrixId}_{contactId}_{contextRecordId?}. Makes assignment creation idempotent. |
b3o__Active__c |
Checkbox (default true) | Inactive assignments are ignored by the engine. |
b3o__Due_Date__c |
Date | Optional due date for reporting and alerts. |
b3o__Last_Evaluated__c |
DateTime | Stamped by the engine on each recalculation. |
b3o__Applicable_Items__c |
Roll-up (count) | Items currently applicable to this candidate. |
b3o__Compliant_Items__c |
Roll-up (count) | Applicable items with status Compliant. |
b3o__Pending_Review_Items__c |
Roll-up (count) | Items awaiting specialist review. |
b3o__Mandatory_Outstanding_Items__c |
Roll-up (count) | Mandatory applicable items still blocking compliance. |
b3o__Total_Score__c |
Roll-up (sum) | Sum of item scores (for weighted scoring). |
b3o__Next_Expiry_Date__c |
Roll-up (min) | Earliest expiry date across the candidate's items. |
b3o__Percent_Compliant__c |
Formula (percent) | Compliant items divided by applicable items. |
b3o__Is_Fully_Compliant__c |
Formula (checkbox) | True when there are applicable items, no mandatory items outstanding, and the score meets any passing threshold. Use this as the "candidate is compliant for this matrix" signal in Flow. |
b3o__Status__c |
Formula (text) | Not Started / In Progress / Pending Review / Compliant, derived from the rollups. |
Creating an assignment is the SI's trigger point (for example a Flow: "when a Placement is created, create a Compliance Assignment"). The native wrapper also creates one automatically when it needs to.
b3o__Compliance_Item__c (one row per requirement, per candidate)The materialised rows the console lists and acts on: one per assignment and
requirement, kept stable (upserted by b3o__Unique_Key__c, never
deleted-and-recreated) so they can carry field history and checklist state.
These are maintained by the engine and by console actions; you do not configure
them, but understanding the fields helps when building reports.
| Field | Type | Meaning |
|---|---|---|
b3o__Compliance_Assignment__c |
Master-detail | Parent assignment. |
b3o__Compliance_Requirement__c |
Lookup (required, restrict delete) | The requirement this row satisfies. |
b3o__Unique_Key__c |
Text(255), unique external id | {assignmentId}_{requirementId}. |
b3o__Status__c |
Picklist | Not Applicable / Outstanding / Pending Review / Compliant / Rejected / Expired / Waived. See status derivation below. |
b3o__Is_Applicable__c |
Checkbox | Result of the applicability rule. |
b3o__Is_Mandatory_Copy__c |
Checkbox | Copied from the requirement at evaluation time. |
b3o__Is_Blocking__c |
Checkbox | Engine-maintained: applicable, mandatory, not yet Compliant/Waived/Not Applicable, and its Enforcement Date (if any) has been reached. |
b3o__Score__c |
Number | The requirement weight when Compliant or Waived, else 0. |
b3o__Evidence_Object__c |
Text(255) | API name of the matched evidence object. |
b3o__Evidence_Record_Id__c |
Text(18) | Id of the best matched evidence record (any object). |
b3o__Evidence_Summary__c |
Text(255) | Display title of the evidence (for example the certificate name). |
b3o__Evidence_Count__c |
Number | Number of matched evidence records. |
b3o__Document_Submission__c |
Lookup | Populated when the evidence is a document submission (drives the preview and reporting joins). |
b3o__Certificate__c |
Lookup | Populated for the common certificate case (reportable joins). |
b3o__Expiry_Date__c |
Date | The evidence expiry field, else the expiry entered on approval, else Acquired Date plus the renewal frequency. |
b3o__Acquired_Date__c, b3o__Enforcement_Date__c, b3o__Due_Date__c, b3o__Reminder_Date__c, b3o__Is_Due__c |
Date / formula | Engine-maintained dates. See Compliance dates. |
b3o__Is_Expired__c |
Formula (checkbox) | True once the expiry date is in the past. |
b3o__Is_Expiring_Soon__c |
Formula (checkbox) | True when within the requirement's warning window of expiry. |
b3o__Expires_In_Days__c |
Formula (number) | Days until expiry. |
b3o__Checked__c |
Checkbox | Checklist tick (manual, or set by the auto-check rule). |
b3o__Checked_By__c / b3o__Checked_On__c |
Lookup / DateTime | Who ticked the checklist item and when. |
b3o__Verified_By__c / b3o__Verified_On__c |
Lookup / DateTime | Approval audit. |
b3o__Verification_Notes__c |
Long text | Notes captured on approve, reject or waive. |
b3o__Last_Evaluated__c |
DateTime | Last engine evaluation. |
b3o__Compliance_Definition__mdt (console behaviour JSON)All console behaviour, which evidence objects it can render, their columns and
previews, the behaviour flags, the candidate-mode rules and label overrides, is
soft-coded in the b3o__JSON__c field of a b3o__Compliance_Definition__mdt
record, keyed by DeveloperName. The console accepts a definition parameter;
a blank value uses the record named Default, and an unknown name falls back to
Default. The Version 11.1.0 native wrapper does not pass its exposed Definition
Name property or the matrix's Definition_Name__c value correctly. Ship a
Default record carrying the JSON below; SIs add their own
capture objects (immunisations, state certificates, skills, and so on) by
appending catalog entries.
Keys the console reads:
evidenceCatalog: the objects the console can render and match against.
Each entry: object, label, contactField (lookup used to scope to the
candidate), titleField, expiryField, columns, optional defaultConditions,
optional approval (field-mode), optional allowCreate + loaders +
createFields for candidate/specialist self-service add, and an optional
submissionPreviewFrame.
A columns entry is either a field-path string ("Name",
"b3f__Form__r.Name") or an object {fieldPath, label, formatter} where
formatter is one of date, dateTime, time, number, currency,
string. Without a formatter the console infers one from the field's type.behavior: allowWaive, requireNotesOnReject, allowManualRecalculate,
expiryWarningDaysDefault. These control whether the Waive action appears,
whether a note is mandatory on reject, and whether the Recalculate button
shows.candidateMode: enabled, showCategories, showScores,
hideStatuses[]. In the candidate view, items whose status is in
hideStatuses, whose requirement is not candidate-visible, or that are not
applicable are hidden.clientMode: the same keys as candidateMode, applied to the client view.
Client items are also gated by b3o__Client_Visible__c.audience: classifies a non-internal viewer as a candidate or client.
clientFilter is a trusted Contact SOQL filter. A matching Contact is treated
as a client. Alternatively, configure only candidateFilter; a Contact that
does not match is treated as a client. Without an audience configuration,
every non-internal viewer is treated as a candidate.labels: a flat map of "dot.path": "override" strings that relabel any
console text per org (useful for client terminology or another language).submissionPreviewFrame (per catalog entry): a site-relative URL that the
console shows in an embedded frame for the selected evidence row, instead of
the Files section. Merge variables: {recordId} (the evidence record),
{contactUserId} (the console contact), {sessionKey} (the current session,
URL-encoded), and {record.<fieldPath>} (a field on the selected evidence
record). Interactive preview pages can send the standard 3B completion
message to the parent window. The console then recalculates compliance and
refreshes the evidence list. This includes self-booking previews, which send
b3oBookingComplete after a candidate confirms and closes a booking.Set allowCreate on a catalog entry to let an authorised candidate or specialist
create that evidence record from the console. createFields uses the shared form
schema, including type, required, default, showIf, disabled and layout
properties. The console always seeds the catalog entry's contactField with the
viewed candidate and sends only declared fields to the save endpoint.
To collect supporting evidence in the same form, add a createFields entry
with type: "field-file-upload" and an empty field. The uploader does not map
to an object field. After the evidence record is saved, the console attaches
each uploaded file to it as a Salesforce File. The uploader also accepts the
shared form properties, including labelOverride, required, disabled,
showIf and props.
Use a definition-local loader when a select needs records from another object.
The loader's object, fields, optional filter and order are resolved from trusted
definition metadata on the server, not from browser input. The default Certificate
entry uses this to populate a Certificate Type selector. It shows optional start
and expiry dates and an optional evidence upload after the user selects a type:
{
"allowCreate": true,
"loaders": [
{
"name": "certificateTypes",
"object": "b3o__Certificate_Type__c",
"fields": ["Name"],
"orderBy": "Name ASC"
}
],
"createFields": [
{
"field": "b3o__Certificate_Type__c",
"type": "field-select",
"required": true,
"loader": "certificateTypes",
"optionLabelField": "Name",
"optionsInPopout": true
},
{
"label": "Valid From / Start Date",
"field": "b3o__Start_Date__c",
"type": "field-date-input",
"required": false,
"showIf": {
"condition": {
"allOrSome": "all",
"selectors": [
{
"field": "b3o__Certificate_Type__c",
"operator": "isnull",
"value": false
}
]
}
}
},
{
"label": "Valid Until / Expiry Date",
"field": "b3o__End_Date__c",
"type": "field-date-input",
"required": false,
"showIf": {
"condition": {
"allOrSome": "all",
"selectors": [
{
"field": "b3o__Certificate_Type__c",
"operator": "isnull",
"value": false
}
]
}
}
},
{
"field": "",
"labelOverride": "Evidence",
"type": "field-file-upload",
"props": {
"placeholder": "Upload File"
},
"required": false,
"showIf": {
"condition": {
"allOrSome": "all",
"selectors": [
{
"field": "b3o__Certificate_Type__c",
"operator": "isnull",
"value": false
}
]
}
}
}
]
}
Abbreviated sample (b3o__JSON__c of the Default record):
{
"timezonePreference": "user",
"behavior": {
"allowWaive": true,
"requireNotesOnReject": true,
"allowManualRecalculate": true,
"expiryWarningDaysDefault": 30
},
"candidateMode": {
"enabled": true,
"showCategories": true,
"showScores": false,
"hideStatuses": ["Waived"]
},
"clientMode": {
"enabled": true,
"showCategories": true,
"showScores": false,
"hideStatuses": ["Waived"]
},
"audience": {
"clientFilter": "RecordType.DeveloperName = 'Client_Contact'"
},
"evidenceCatalog": [
{
"object": "b3o__Certificate__c",
"label": "Certificate",
"contactField": "b3o__Contact__c",
"titleField": "Name",
"expiryField": "b3o__End_Date__c",
"columns": ["Name", "b3o__Certificate_Type__c", "b3o__Status__c", "b3o__End_Date__c"],
"defaultConditions": [
{ "field": "b3o__Is_Currently_Valid__c", "operator": "equals", "value": true }
],
"allowCreate": true,
"createFields": ["b3o__Certificate_Type__c", "b3o__Start_Date__c", "b3o__End_Date__c"]
},
{
"object": "b3o__Document_Submission__c",
"label": "Document Submission",
"contactField": "b3o__Contact__c",
"titleField": "Name",
"expiryField": "b3o__Valid_Until__c",
"columns": ["Name", "b3o__Document__c", "b3o__Status__c", "b3o__Valid_Until__c"],
"approval": {
"mode": "field",
"fieldPath": "b3o__Status__c",
"approvedValues": ["Approved"],
"rejectedValues": ["Rejected"]
}
},
{
"object": "b3f__FormResponse__c",
"label": "Form Response",
"contactField": "b3f__Contact__c",
"titleField": "Name",
"columns": [
{ "fieldPath": "Name", "label": "Reference" },
{ "fieldPath": "b3f__Form__r.Name", "label": "Form" },
{ "fieldPath": "CreatedDate", "label": "Created", "formatter": "dateTime" }
],
"submissionPreviewFrame": "/apex/b3f__PreviewForm?id={recordId}"
}
],
"labels": {}
}
The supplied Default catalog also includes preview frames for generated documents,
e-sign submitters, assessment scorecards and booking invitations, and a
Contact entry (with contactField: "Id") so a specialist can review files
attached directly to the contact using the same Approve / Reject / Waive
actions.
b3o__Evidence_Configuration__c JSON (per requirement)Record Check requirements use this JSON to describe which evidence
counts. The object must exist in the definition's evidenceCatalog.
{
"object": "b3o__Certificate__c", // must exist in the evidenceCatalog
"contactField": "b3o__Contact__c", // lookup used to scope to the candidate
"conditions": [
{ "field": "b3o__Certificate_Type__c", "operator": "equals", "value": "a01XXXXXXXXXXXX" },
{ "field": "b3o__End_Date__c", "operator": "more-than", "value": "$TODAY" }
],
"conditionLogic": "and", // "and" (default), "or" or "custom"
"customConditionLogic": "1 OR 2", // used when conditionLogic is "custom"
"minCount": 1, // default 1
"whenNoRecords": "compliant", // optional: "compliant", "review" or "rejected"
"expiryField": "b3o__End_Date__c", // copied to the item's Expiry Date
"titleField": "Name", // becomes the item's Evidence Summary
"approval": {
"mode": "item", // "item" or "field", see approval modes
"fieldPath": "b3o__Status__c", // field mode only
"approvedValues": ["Approved"],
"rejectedValues": ["Rejected"],
"autoApprove": { // item mode only
"matchType": "all",
"conditions": [
{ "field": "b3o__Status__c", "operator": "equals", "value": "Clear" }
]
},
"autoReject": { // item mode only
"matchType": "any",
"conditions": [
{ "field": "b3o__Status__c", "operator": "equals", "value": "Claims Found" }
]
}
}
}
Supported operator tokens: equals, not-equals, more-than, less-than,
more-or-equal, less-or-equal, contains, not-contains, starts-with,
ends-with. The special value token $TODAY resolves to today's date at
evaluation. Evidence is matched with newest-expiry first, so the longest-valid
record becomes the primary match.
Additional matching options:
b3o__Certificate_Type__r.Name. In the requirement builder, select a
lookup field and use the drill action to choose a field on the related record.
Paths can be up to three levels deep.conditionLogic to
or when any condition can match, or to custom with a
customConditionLogic expression such as (1 AND 2) OR (3 AND 4).
Expressions must reference every numbered condition and can use only
condition numbers, AND, OR and brackets. Invalid expressions match nothing.whenNoRecords to compliant, review or rejected when the absence of
a record is itself a meaningful result. This supports checks such as "no
malpractice claim records means compliant".autoApprove and autoReject contain
field conditions evaluated against the matched evidence. matchType: "all"
requires every evidence record to match; "any" requires at least one.
Auto-reject wins when both rules match. If neither matches, the item stays
Pending Review. A specialist's existing manual decision always takes
precedence.For example, a malpractice check can use this configuration:
| Situation | Configuration | Result |
|---|---|---|
| No malpractice records | whenNoRecords: "compliant" |
Compliant |
| Every record has Status "Clear" | autoApprove with matchType: "all" |
Compliant |
| A record has Status "Hits Found" | Neither automatic rule matches | Pending Review |
| A record has Status "Claims Found" | autoReject with matchType: "any" |
Rejected |
b3o__Applicability_Rule__c and b3o__Auto_Check_Rule__c both hold the standard
b3o rule-builder JSON, the same format used by the conditional rendering rule on
a Document, and are evaluated against the candidate's Contact. Edit them with the
Edit Rule quick action on the Compliance Requirement, or in the requirement
editor of the Compliance Matrix Manager. If a rule errors, the requirement is
treated as not applicable (fails closed), so a mis-configured rule never
accidentally marks a candidate compliant.
Whether matched evidence counts immediately, or must be verified first, is set
per requirement (b3o__Approval_Required__c) and per evidence configuration
(approval.mode).
autoApprove and autoReject rules can settle clear cases automatically.
A recorded manual decision takes precedence over those rules.approvedValues make the item Compliant, values in rejectedValues
make it Rejected, anything else is Pending Review. This is the normal mode for
document submissions. When a specialist approves or rejects such an item in the
console, the console also stamps the underlying submission's status so the
result sticks on the next recalculation.The item status is derived in one place, in this order:
not applicable, or before the requirement's
Effective Date -> Not Applicable
manually Waived (preserved) -> Waived
Checklist item, Checked -> Compliant (Expired once its expiry
passes), else Outstanding
Manual item -> the status set in the console;
Compliant becomes Expired once its
expiry passes
no evidence match -> whenNoRecords status if set and zero
records exist, else Outstanding
evidence expired (expiry < today) -> Expired
approval pending (item or field mode) -> Pending Review
approval rejected -> Rejected
otherwise -> Compliant
Rejected and Expired mean "had evidence, evidence was bad", reportable distinctly from Outstanding ("no evidence yet").
From the detail pane a specialist acts on the selected item:
| Action | Effect |
|---|---|
| Approve | Item becomes Compliant, stamps verifier and timestamp. For field-mode items, also stamps the underlying evidence status. |
| Reject | Item becomes Rejected. A note can be made mandatory via requireNotesOnReject. |
| Waive | Item becomes Waived (counts as satisfied without evidence). Available only when allowWaive is on, permission-gated, never for candidates. |
| Check / Uncheck | Ticks or unticks a checklist item, stamping who and when. |
| Recalculate | Re-runs the compliance engine for this candidate on demand. Shown when allowManualRecalculate is on. |
| Add record | Default when the catalog entry defines createFields, or when Candidate Action is Create record. The user adds evidence such as a certificate inline. |
| Complete Form / Complete Document / Sign Document / Take Assessment / Book Session | When Candidate Action targets a 3B Form, Template, e-Sign Document, Question Set or Session, the console opens that experience in a modal. Closing it refreshes and recalculates compliance. These actions appear while the item is Outstanding, Rejected, Expired or expiring soon. |
The detail pane also previews the evidence: files attached to the evidence record are shown inline (PDFs and images) or offered for download, and form, generated-document, e-sign or assessment submissions are shown in an embedded preview frame.
The console is a session app, with all access enforced server-side.
mode parameter: the
privileged Approve / Reject / Waive actions are refused, and data is limited
to the viewer's own record and to requirements visible to their audience.Remember to grant every new Compliance v2 object and field you add to the
Onboarding_Admin_Full_Permission permission set (the shipped objects and
fields are already on it).
The console enforces three audience modes server-side:
| Mode | Who | What they see |
|---|---|---|
| Admin | Internal users | All requirements and items, with permitted actions. |
| Candidate | Non-internal viewers classified as candidates | Applicable requirements with b3o__Candidate_Visible__c selected, excluding statuses in candidateMode.hideStatuses. The view is read-only. |
| Client | Non-internal viewers classified as clients | Applicable requirements with b3o__Client_Visible__c selected, excluding statuses in clientMode.hideStatuses. The view is read-only. |
The Compliance Definition's audience block determines whether the Contact for
a non-internal viewer is a candidate or client. A common configuration checks a
Contact record type:
"audience": {
"clientFilter": "RecordType.DeveloperName = 'Client_Contact'"
}
You can instead configure candidateFilter; Contacts that do not match it are
treated as clients. If neither filter is configured, all non-internal viewers
remain candidates for backwards compatibility.
Internal users can use View as: Admin / Client / Candidate in the console header to preview the visibility rules and read-only experience for each audience. This is a preview only. A real candidate or client is classified and restricted by the server.
b3o__Compliance_Matrix__c, b3o__Compliance_Requirement__c,
b3o__Compliance_Assignment__c, b3o__Compliance_Item__c, the evidence
objects named in the catalog (certificates, document submissions, form
responses, references, and any SI object you add), files attached to those
records, and the candidate's Contact.b3o__Compliance_Item__c (status, checklist, verification fields
on console actions) and b3o__Compliance_Assignment__c (created when needed).
Approve/reject on a document-submission-backed item also writes that
submission's status. New evidence records are written where a catalog entry
allows self-service add.In the requirement's evidence builder, expand Labels & Behaviour Overrides for an embedded candidate action. Allow Editing Submitted Document permits another submission while Pending Review. Do Not Auto Close Modal keeps the completion window open. Submit, Edit and Re-Submit button labels can be overridden, along with Pending Review, Approved and Rejected labels shown to candidates. Specialist status labels are unchanged.
Compliance items and the assignment rollups are materialised by a recalculation engine that runs automatically when an assignment is created and when related evidence changes, and that can also be triggered on demand. That engine, its invocable action for Flow, the mass-backfill batch, the daily expiry sweep, and the trigger kill switch are covered in the Developer API reference. The console itself only asks the engine to recalculate and writes the per-item review state.