The Application Stage Manager is the path component you place on an Application record page. It shows every step of the recruitment process attached to the application's job, marks the step the application is currently on, explains what happens in that step, and moves the application forward or back.
From this version it also provisions work: if the recruitment step names a Document Pack or a Compliance Matrix, moving an application onto that step assigns them to the candidate. A "Credentialling" step can therefore issue the credentialling document pack and start compliance tracking without a single flow.
Each step can also ask the recruiter for information. Stage fields show fields of the Application Stage or the Application in the step's panel, optionally only for certain stage statuses and optionally as required. A step set to Incomplete can require a comment, and a Failed status can require a rejection reason, before the change is saved.
The path is driven by four objects.
| Object | Role |
|---|---|
b3o__Recruitment_Process__c |
The named process, for example Permanent Nursing. Jobs point at one process. |
b3o__Recruitment_Step__c |
One step of that process. The order, the description of the step, and what the step assigns. |
b3o__Application__c |
The candidate's application. b3o__Job__c resolves the process; b3o__Current_Application_Stage__c points at the stage the application is on. |
b3o__Application_Stage__c |
Created the first time an application reaches a step. Holds the step's status for that application, and the interview scorecard. |
Because different jobs can run different processes, the path is always read from the job's recruitment process, never hard coded.
An Application Stage record is created once per application and step, and it is kept. Moving an application back to an earlier step reuses the existing stage record rather than creating a second one, so the history of which steps the application has been through survives.
| Field (label) | API name | Type | Notes |
|---|---|---|---|
| Order | b3o__Order__c |
Number | Position in the path. Steps are shown in ascending order. |
| Details for Step | b3o__Details_for_Step__c |
Rich text | What happens in this step. Shown in full to the recruiter when the step is selected on the path. Use it for the instructions a recruiter needs: who to contact, what to check, what "done" means. |
| Interview Question Set | b3o__Question_Set__c |
Lookup (Question Set) | The scorecard questions a recruiter completes at this step. |
| Document Pack | b3o__Document_Pack__c |
Lookup (Document Pack) | When an application is moved to this step, the candidate is assigned this Document Pack. |
| Compliance Matrix | b3o__Compliance_Matrix__c |
Lookup (Compliance Matrix) | When an application is moved to this step, the candidate is assigned this Compliance Matrix. |
| Stage Fields | b3o__Stage_Fields__c |
Long text (JSON) | The fields recruiters fill in on this step. Maintained by the Recruitment Step Fields component on the step's record page; see Stage fields. Blank = no fields, only the stage status. |
| Field (label) | API name | Type | Notes |
|---|---|---|---|
| Status | b3o__Status__c |
Picklist | In Progress, Complete, Incomplete, Failed. New stages start with the picklist default (In Progress). |
| Comments | b3o__Comments__c |
Long text | Recruiter comments for the stage, for example why it is Incomplete. Shown in the component when a step's Stage Fields include it. |
When a recruiter moves an application to a step, the component:
Document Pack. A b3o__Document_Assignment__c is created with the candidate as the contact, the step's pack and the application in b3o__X3B_Application__c. Status defaults to New, which makes the assignment active. The existing Document Assignment automation then evaluates the pack's conditional rendering rules and materialises the requested documents, so the candidate sees them in My Documents immediately.
Compliance Matrix. A b3o__Compliance_Assignment__c is created with the candidate as the contact, the step's matrix, the application Id in b3o__Context_Record_Id__c, and the unique key <matrixId>_<contactId>. The compliance engine then builds the compliance items and the Compliance Command Center picks the assignment up.
Provisioning is idempotent and deduplicated:
Moving an application back and forth over a step therefore never issues the pack twice. Nothing is unassigned when an application moves away from a step; withdraw work by deactivating the assignment, which keeps the audit trail.
If the application has no candidate, nothing is provisioned and the stage still moves.
Stage fields let each recruitment step ask the recruiter for the information that step needs, at the moment it is needed. A field can live on the Application Stage (information about this step for this application, such as Comments) or on the Application (information about the application as a whole, such as a rejection reason). Any editable custom field works, packaged or your own (standard fields such as Owner cannot be configured), of any type Salesforce can edit on a record page: picklist, text, long text, date, number, checkbox or lookup.
Each configured field has three settings:
The configuration is stored per step in b3o__Recruitment_Step__c.b3o__Stage_Fields__c, so the same field can be required on one step and absent on another, and different jobs' processes can ask for different things.
Stage fields are configured on the Recruitment Step record with the Recruitment Step Fields component. It is on the packaged Recruitment Step LRP record page, under the step details. If your org uses its own Recruitment Step page, add the component in Lightning App Builder (it only lists on b3o__Recruitment_Step__c record pages and has no properties).
Saving an empty list clears the configuration, and the step goes back to showing only the stage status. Users who cannot edit Stage Fields see the panel read only.
ApplicationStageManager Apex class, which re-reads the step's Stage Fields and accepts only the fields active for the status being saved. Values for any other field are rejected, required fields must be filled, each field must be a custom field on the chosen record and be editable by the running user, and the fields that wire the path together (stage Status, Application and Recruitment Step, and the application's Current Application Stage, Candidate and Job) can never be written as stage fields. An optional field the user cannot edit, or one that has been deleted, is skipped instead of blocking the step; a required one blocks it.Rejection_Reason__c. Packaged fields carry the b3o__ prefix, for example b3o__Comments__c.The builder writes a JSON list to b3o__Recruitment_Step__c.b3o__Stage_Fields__c. You only need it to load configuration with a data tool or move it between orgs; the builder is the supported way to edit it.
| Key | Type | Default | Meaning |
|---|---|---|---|
target |
Text | stage |
stage = the field is on b3o__Application_Stage__c; application = the field is on b3o__Application__c. Any other value is treated as stage. |
field |
Text | none | API name of the field on the target object. Entries without a field are ignored. |
statuses |
List of text | [] |
Stage status API values that show the field: In Progress, Complete, Incomplete, Failed, or your own values. Empty or omitted = always shown on the step. |
required |
Boolean | false |
true = the field must be filled before the status change or move saves. |
Fields appear in the panel in list order, Application Stage fields first, then Application fields.
Comments required when a stage is Incomplete, rejection reason required when it fails. Create a picklist Rejection_Reason__c on b3o__Application__c in your org and grant recruiters edit access to it. On the Interview step:
[
{ "target": "stage", "field": "b3o__Comments__c", "statuses": ["Incomplete"], "required": true },
{ "target": "application", "field": "Rejection_Reason__c", "statuses": ["Failed"], "required": true }
]
Setting the interview stage to Incomplete asks for comments; setting it to Failed asks for the rejection reason on the application. In Progress and Complete save straight away.
A Rejected step that always needs a reason. If your process ends with a dedicated Rejected step, configure the reason with no statuses. The recruiter must pick it before Move to this step completes, and the optional comments are shown alongside:
[
{ "target": "application", "field": "Rejection_Reason__c", "statuses": [], "required": true },
{ "target": "stage", "field": "b3o__Comments__c", "statuses": [], "required": false }
]
The Recruitment Process Builder component manages a whole process from the Recruitment Process record. It is on the packaged Recruitment Process Steps record page, under the process details. On your own Recruitment Process page, add it in Lightning App Builder; it only lists on b3o__Recruitment_Process__c record pages and has no properties.
The builder writes with the user's own access: adding, reordering, editing and deleting need create, edit and delete on b3o__Recruitment_Step__c. Buttons the user cannot use are hidden.
b3o__Application__c record page, in the header region under the highlights panel, or full width at the top of a tab)On the page a recruiter gets:
After any change, the component refreshes itself and the record page around it, so the application's Current Stage and Current Stage Status formula fields, and related lists such as Document Assignments, update without a manual browser refresh.
Grant users the Onboarding_Admin_Full_Permission permission set, or the equivalent access on your own permission set:
b3o__Recruitment_Process__c and b3o__Recruitment_Step__c, including the Details for Step, Document Pack, Compliance Matrix and Stage Fields fields.b3o__Application__c and b3o__Application_Stage__c, including b3o__Application_Stage__c.b3o__Comments__c.ApplicationStageManager Apex class.To configure stage fields, a user also needs edit on b3o__Recruitment_Step__c and on its b3o__Stage_Fields__c field. Users without it see the Recruitment Step Fields panel read only. The packaged permission set grants both new fields (Stage Fields and Comments) as read and edit.
Reads are performed with the user's own access. Every write the component makes, the stage transition, stage status changes and stage field values, goes through the ApplicationStageManager Apex class, which validates it against the step's configuration, the user's field access and the user's edit access to the application. It also refuses a step that does not belong to the application's recruitment process. The records, and the assignment records a move creates, are then written by the managed package so that provisioning still works for recruiters who cannot create Document Assignments directly. Only the builder writes directly: it saves Stage Fields on the Recruitment Step with the admin's own access.
b3o__Recruitment_Process__c record, for example Permanent Nursing.b3o__Recruitment_Step__c records with sequential Order values.)Applications created against that job now walk the path, and reaching Credentialling issues the documents and starts compliance tracking.
| Symptom | Cause |
|---|---|
| "This application's job has no recruitment process steps yet." | The application's job has no Recruitment Process, or the process has no steps. |
| The path shows but no node is marked current | The application's Current Application Stage is blank. Move it to a step to set it. |
| A pack was not assigned | The step has no Document Pack, the application has no candidate, or an active assignment for that candidate, pack and application already exists. |
| A matrix was not assigned | The candidate already holds an assignment for that matrix, from an earlier step or the Compliance Matrix Composer. |
| Documents do not appear for the candidate | The assignment exists but the pack's conditional rendering rules excluded the documents. Run 3B Recalculate Requested Documents on the assignment. |
| " is required." | A required stage field active for the status being saved is blank. Fill it in, or change the configuration. A required field with no statuses also blocks Move to this step until it is filled. |
| " cannot be edited from the stage manager." | A required (or submitted) field does not exist on the chosen record (typo, deleted field, wrong Record), is a standard, formula or other read-only field, is one of the fields the component manages (stage Status, Application, Recruitment Step; application Current Application Stage, Candidate, Job), or the user has no edit access to it. Optional fields with these problems are skipped. Fix the field access or the configuration. |
| "You do not have edit access to this application." | The user can read but not edit the Application (sharing). Share the record with edit access or grant it through the role hierarchy. |
| "You cannot change the stage status." | The user has no edit access on b3o__Application_Stage__c.b3o__Status__c. |
| "This step is not part of the application's recruitment process." | The step belongs to a different process than the application's job. Usually the job's Recruitment Process was changed after the page loaded; refresh the page. |
| " is not a stage field of this step for status ." | A value was sent for a field that is not configured for that status on this step. Usually the configuration was changed while the page was open; refresh the page and try again. The field name is shown in lower case. |
| "The Stage Fields configuration of this step is not valid JSON." | Stage Fields on the Recruitment Step was edited by hand or by a data load and is not a valid JSON list. The panel also shows "The Stage Fields configuration of this step could not be read. Fix it with Recruitment Step Fields on the step's record page." On the step, the Stage fields panel starts empty; rebuild the fields and save, or correct the JSON on the step record. |
| "Move the application to this step first." | Fields or a status were saved for a step the application has never reached. Move it to the step instead. |
| The Stage fields panel is read only | The user has no edit access to b3o__Recruitment_Step__c.b3o__Stage_Fields__c. |
| The Stage fields panel is not on the step page | The org uses its own Recruitment Step record page. Add Recruitment Step Fields to it in Lightning App Builder. |
| A field is missing from the builder's Field list | The list only shows custom fields the admin can edit, excluding standard fields, formula fields and the fields the component manages. Check the admin's field level security. |
| Changing the status always waits for Save | The step has a stage field with no statuses selected. Such a field is part of every status of the step, so every status change shows it first. |
| A validation rule message appears on save | Your own validation rules on the Application or Application Stage run on save. Nothing is saved, including the move or status change, until the values pass. |