3B Document Review

3B Document Review

3B Document Review is a record page component for credentialing specialists. It lists a candidate's document submissions grouped into review queues, previews the completed item inline and lets the reviewer approve, reject (with feedback for the candidate) or revert a decision without leaving the page. Salesforce UI API applies the running user's object, field and record access to the review list and decisions. Requested-document recalculation runs in the background.

Where it can be placed

Add it in Lightning App Builder on any record page.

Record page What it shows
Contact Every submission of the candidate, plus outstanding requested documents
Document Assignment Submissions and outstanding requested documents of that one assignment (pack)
Document Submission That one submission, with its actions
3B Application (b3o__Application__c) Submissions of Document Assignments whose X3B Application lookup points at the record
3B Placement (b3o__Placement__c) Submissions of Document Assignments whose X3B Placement lookup points at the record
Any other object (ATS application, placement, custom) Configured with one of the properties below

On every page except Document Submission the component shows only the latest submission per requested document (older ones were replaced by a resubmission). On context records (anything other than Contact) it also shows an overall badge: Pending Review if anything awaits review, Rejected if anything is Rejected or Request Update, otherwise Approved, or No Documents.

Design-time properties

Field (label) API name Type Default Notes
Document Assignment Lookup Field assignmentField String (blank) API name of the Document Assignment field that looks up to this record, e.g. ATS_Application__c. Blank on 3B Applications and Placements uses the packaged lookups. Wins over Contact Path.
Contact Path contactPath String (blank) Used when there is no Document Assignment lookup: field (or relationship path) holding the Contact on this record, e.g. ATS_Applicant__c. Shows all of the candidate's submissions, not only those for this record.

Neither property is needed on Contact, Document Assignment or Document Submission pages. On any other object with neither property set, the component shows a configuration hint instead of data.

Example: Bullhorn style ATS application

  1. Create a lookup on Document Assignment to the ATS application object, e.g. ATS_Application__c.
  2. Populate it when the Document Assignment is created (flow or integration).
  3. Place 3B Document Review on the ATS application record page with Document Assignment Lookup Field = ATS_Application__c.

If you cannot add the lookup, set Contact Path to the candidate field on the application instead.

Layout

The component is built to answer one question first: what does the reviewer need to do now?

Every document row has a status pill and four step dots: requested, submitted, reviewed, valid.

State Pill Meaning Highlight
Re-check Purple Pending Review resubmission Tinted card, Resubmission tag, previous attempt panel
To review Blue Pending Review Review queue
Expired Orange Approved, but Is Expired is true Tinted exception card, "Ask the candidate for a new one"
Rejected Red Rejected, with the reviewer comment Tinted exception card, "Waiting for the candidate to resubmit"
Update requested Amber Request Update, with the comment Tinted exception card
Not submitted Grey Requested Document required from the contact and not submitted "Waiting for the candidate to submit"
Approved Green Approved and valid None

A pack's percentage is approved documents over all documents shown for that pack, including the ones in the review queue.

Resubmissions

When a submission has a Previous Submission (see Document resubmissions), its card shows a Previous attempt panel: a link to the previous submission, its status pill, when it was submitted and who reviewed it, and the reviewer comment left on it (Public Comments, usually the rejection reason). Reviewers can compare the new upload against the reason it was sent back without opening another record.

Not submitted rows come from b3o__Requested_Document__c (Is Required From Contact = true and Is Submitted = false), so they follow the conditional rendering rules exactly like My Documents. See Requested documents rollups for when those records are recalculated.

Previews

The View button opens the completed item in an inline frame (with an Open in new tab link):

Submission links to Preview page
Form Response /apex/b3f__PreviewForm
Document Trace (template) /apex/b3d__GeneratedDocument
Submitter (3B Sign e-sign) /apex/b3d__Generate with the submitter, document and record of its Submission Request
Candidate Scorecard (assessment) /apex/b3o__PreviewAssessment

Reviewers need read access to the linked 3B Forms / 3B CLM records for the preview to render.

Actions and fields written

Action Fields written on Document Submission
Approve Status = Approved, Verified By = current user, Approved Timestamp = now
Reject Status = Rejected, Public Comments = feedback (required, max 255), Rejected By = current user, Rejected Timestamp = now
Revert (Approved or Rejected only) Status = Pending Review, review fields cleared

Every action clears the other decision's fields first, so only the current decision is stored. Auto-approved submissions (Document flagged Does not require approval) show "Auto-approved" because they have an Approved Timestamp but no Verified By.

New fields on b3o__Document_Submission__c:

Label API name Type
Verified By b3o__Verified_By__c Lookup(User), clear on delete
Rejected By b3o__Rejected_By__c Lookup(User), clear on delete

Reviewers need edit access to Status, Public Comments, Verified By, Rejected By, Approved Timestamp and Rejected Timestamp. The Onboarding Admin Full Permission permission set grants it.

Limits

Keep the document list up to date

Requested documents are worked out when a Document Pack is assigned. If someone later adds a document to the pack or removes one, the "Not submitted" list can fall out of date.

Recalculation runs in the background. If the list hasn't changed after a few seconds, select Recalculate again.