This article is for integrators and admins who have licensed the VMS capability of the WFM package and want to stand it up as a self-contained solution, without the internal scheduling planner or the candidate clock app. It describes the deployment shape, the minimal footprint, and the story for growing into a full WFM deployment later. It does not re-document the object model in depth. For that, read the VMS guide first.
VMS is a second-tier staffing workflow. A client organisation that cannot fill its own shifts distributes those requirements to a network of sub-vendor agencies and places the workers those agencies propose, all inside one Salesforce org.
The key property for a standalone deployment: the sub-vendors work without Salesforce logins. They use a lightweight guest portal secured by an encrypted session key. The only Salesforce users are the master vendor and its internal reviewers, the org owner.
There are three roles:
| Role | Who they are | Where they work |
|---|---|---|
| Client | The organisation that needs staff, for example a school, hospital or care group. | Client Shift Manager (guest portal) |
| Master vendor | Your customer, the org that owns the Salesforce instance and the vendor relationships. | Native Salesforce record pages |
| Sub-vendor | A staffing agency the master vendor works with. | Vendor Portal (guest portal) |
A requisition (an unfilled need) is broadcast to a pool of sub-vendors as invites. Sub-vendors respond by proposing workers. Whoever is reviewing checks the worker's credentials and approves, which turns the proposal into a real, scheduled placement.
A VMS-only deployment does not require the internal scheduling planner or the candidate clock app. The scheduling planner is a licensed internal calendar for building rotas by hand, and VMS produces its schedule records a different way (see below). Turning it off changes nothing about how VMS distributes and fills requisitions.
What is in play:
| Surface | Audience | Hosting | Role in a VMS-only deployment |
|---|---|---|---|
| Client Shift Manager | Client | Guest portal (session key) | Where the client raises requisitions, broadcasts them, and reviews proposals. Required. |
| Vendor Portal | Sub-vendor | Guest portal (session key) | Where agencies see invites, propose workers, and manage their roster and credentials. Required. |
| Native admin panel | Master vendor / internal | Salesforce record pages | The command center on the requisition record, for broadcasting and reviewing when the master vendor is in the loop. Required for mediated mode; useful in all modes for oversight. |
| Timesheet Submission / Approval | Worker and client | Downstream apps | Optional but recommended: placed workers' shifts flow into these for the pay side of the cycle. |
Not required: the internal Scheduler planner and the Clock app. You can license and deploy VMS with neither.
In a full WFM deployment, schedulers build shifts in the planner calendar. In a VMS-only deployment, the client raises the same records directly from the Client Shift Manager wizard. There are two shapes of requisition, and both are stamped for VMS with b3s__VMS__c = true so the VMS views and regular views stay separate.
b3s__Shift__c with no assigned worker, a b3s__Required_Staff__c count, and b3s__VMS__c = true. One-off cover, for example "3 nurses on Saturday night." Approving a proposal creates a child shift under the demand for the placed worker.b3s__Booking_Request__c with b3s__VMS__c = true, describing a longer, repeating placement via a Working Pattern Type. Approving a proposal creates a b3s__Working_Pattern__c placement for the worker, and the pattern engine generates the individual shifts.The client never touches the planner. The wizard's request form (defined in the app configuration, see below) captures the job, site, dates, staff count, and per-request credential requirements as child b3s__Certificate_Requirement__c rows.
A requisition is filled when the number of placements reaches b3s__Required_Staff__c (blank counts as 1). At that point the remaining open invites are automatically released and every other open proposal on it becomes Not Selected.
The workflow runs in one of two modes, set on the Client Shift Manager app definition with the top-level vmsWorkflowMode key:
autonomous (default): client to sub-vendor to client. The client broadcasts requisitions directly from the Client Shift Manager and reviews every proposal itself. The master vendor is not in the review loop.mediated: client to master vendor to sub-vendor to master vendor to client. The client only creates requisitions. The master vendor broadcasts and screens proposals in the native admin panel, forwards good ones to the client ("Send to Client"), and the client makes the final approval.{
"timezonePreference": "client",
"vmsWorkflowMode": "autonomous"
}
Integrator note for mediated mode: hiding the broadcast button on the client surface is not enough. Unscreened proposals should never travel to the client's browser. Add a
b3s__Status__c != 'Proposed'clause to theClientShiftManager_VmsProposalsloader, and drop'Proposed'from theproposalsentry in the definition'sbadgesarray so the client badge only counts what it can act on.
VMS and the full scheduling planner share the same objects and statuses, so nothing is duplicated when both are present. The difference is only how requisitions originate and where placed workers appear.
When the planner is present:
b3s__Shift__c or b3s__Booking_Request__c record page using the native broadcast panel, instead of the client raising it in the portal.b3s__VMS__c. Approval-created child shifts and placements are stamped false, so they read as ordinary schedule records the planner can manage.In other words, the standalone deployment and the full deployment are the same system with a different front door. You can start VMS-only and add the planner later with no data migration, because both write the same b3s__Shift__c and b3s__Working_Pattern__c records.
VMS is driven almost entirely by Custom Metadata records included as sample configuration with the package. You deploy those samples, then adjust them for the customer. There are two app definitions, a set of per-tab loaders, the VMS sharing pool, and the credential objects.
Each portal reads one b3s__Component_Configuration record whose b3s__JSON__c field carries the app definition: the schedulables (per-object field-path maps), the badges widget array, and top-level settings like vmsWorkflowMode.
b3s__Component_Configuration.Client_Shift_Manager) declares the shift, bookingRequest, invite, proposal, requirement, ticket, sharedWorker, placement, vendor and message schedulables, plus vmsWorkflowMode and the client badges. The presence of a proposal schedulable is what switches the VMS view on.b3s__Component_Configuration.Vendor_Portal) declares the invite, proposal, worker, ticket, requirement, sharedWorker, client, shift, placement and message schedulables, plus the portal badges.A schedulable maps an object to the field paths the surface uses, so nothing is hard-coded. A trimmed example of the proposal schedulable:
"proposal": {
"objectType": "b3s__Worker_Proposal__c",
"statusFieldPath": "b3s__Status__c",
"contactFieldPath": "b3s__Contact__c",
"workerNameFieldPath": "b3s__Contact__r.Name",
"vendorInviteFieldPath": "b3s__Vendor_Invite__c",
"ticketIdsFieldPath": "b3s__Ticket_Ids__c",
"convertedShiftFieldPath": "b3s__Converted_Shift__c",
"convertedPlacementFieldPath": "b3s__Converted_Working_Pattern__c"
}
The invite schedulable, showing the tier and window fields VMS relies on. tierWindowOptions is optional: it lists the durations, in minutes, the client can pick for each tier's exclusive window in the broadcast modal, and defaults to the values shown:
"invite": {
"objectType": "b3s__Vendor_Invite__c",
"statusFieldPath": "b3s__Status__c",
"shiftFieldPath": "b3s__Shift__c",
"bookingRequestFieldPath": "b3s__Booking_Request__c",
"vendorAccountFieldPath": "b3s__Vendor_Account__c",
"tierFieldPath": "b3s__Tier__c",
"availableFromFieldPath": "b3s__Available_From__c",
"expiresFieldPath": "b3s__Expires__c",
"tierWindowOptions": [30, 60, 120, 240, 480, 1440]
}
The Vendor Portal's worker schedulable is just the Contact roster, so a sub-vendor manages its own people:
"worker": {
"objectType": "Contact",
"canEdit": true,
"recordFormFields": [
{ "field": "FirstName", "type": "field-text" },
{ "field": "LastName", "type": "field-text", "required": true },
{ "field": "Email", "type": "field-text" },
{ "field": "Phone", "type": "field-text" }
]
}
Each portal's tab counters are configuration-defined count widgets in a top-level badges array, evaluated server-side. The client badge counts proposals the client can act on; the vendor badges count new invites and client-initiated direct requests.
"badges": [
{
"name": "invites",
"type": "count",
"objectType": "b3s__Vendor_Invite__c",
"selectionClause": ["b3s__Vendor_Account__c =:contextUser.AccountId AND b3s__Status__c = 'New'"]
},
{
"name": "requests",
"type": "count",
"objectType": "b3s__Worker_Proposal__c",
"selectionClause": ["b3s__Vendor_Invite__r.b3s__Vendor_Account__c =:contextUser.AccountId AND b3s__Status__c = 'Requested'"]
}
]
Each portal tab loads its records through a b3s__Component_Loader record. Every loader is JSON only: a name the app config references, the objectName, the fields to load, and a filterRecordsBy clause scoped to the guest's Account through :contextUser.AccountId. The client-side loaders carry the ClientShiftManager_* prefix, the vendor-side loaders carry VendorPortal_*.
A vendor-side invite loader, scoped to the vendor Account:
{
"name": "invites",
"objectName": "b3s__Vendor_Invite__c",
"filterRecordsBy": ["b3s__Vendor_Account__c =:contextUser.AccountId"],
"groupRecordsBy": "Id",
"fieldToLoad": [
"Name", "b3s__Status__c", "b3s__Tier__c",
"b3s__Available_From__c", "b3s__Expires__c",
"b3s__Shift__c", "b3s__Booking_Request__c"
]
}
The client-side vendor-pool loader is special: the pool is a same-object semi-join that SOQL cannot express, so it uses a packaged Apex filter alongside an optional role filterRecordsBy clause. You reference it by name, no code required:
{
"name": "vendors",
"objectName": "b3s__VMS_Sharing_Group_Assignment__c",
"apexFilter": "b3s.VmsVendorPoolFilter",
"filterRecordsBy": ["b3s__Role__c IN ('Vendor', 'Master Vendor')"],
"groupRecordsBy": "b3s__Account__c",
"fieldToLoad": [
"b3s__Account__c", "b3s__Account__r.Name",
"b3s__Role__c", "b3s__Tier__c", "b3s__Sharing_Group__c", "b3s__Sharing_Group__r.Name"
]
}
See Loaders and the app definition JSON reference for the full contract.
The vendor pool for a requisition is derived from sharing groups, not record types or hierarchies:
| Object | Purpose |
|---|---|
b3s__VMS_Sharing_Group__c |
A named container, purely a join anchor. |
b3s__VMS_Sharing_Group_Assignment__c |
Junction linking an Account into a group, with b3s__Role__c (Client, Vendor or Master Vendor) and optional b3s__Tier__c (default broadcast wave for that vendor, blank means tier 1). |
Put the client Account and each of its sub-vendor Accounts into the same b3s__VMS_Sharing_Group__c. Set the client's assignment Role to Client and the suppliers' roles to Vendor or Master Vendor. Only suppliers sharing a group with that Client assignment are offered; other clients and blank roles are excluded. A vendor in several of the client's groups gets its lowest (best) tier. Tiering gives your best agencies a first-refusal window, enforced server-side by timestamps and a validation rule, with no scheduled jobs. See the VMS guide for the tier mechanics.
b3s__Certificate_Requirement__c captures what a requisition demands (a lookup to b3s__Ticket_Type__c), collected as child rows on the client's request form.b3s__Ticket__c is what a worker holds (Master-Detail to Contact, with b3s__Valid_From__c / b3s__Valid_Until__c and b3s__Approval_Status__c), with file evidence attached in the Vendor Portal.At review time, WFM compares the worker’s credentials with the requisition requirements. Gaps appear as warnings unless the client account or Client Shift Manager configuration blocks approval on missing credentials. Disable Ticket Approval waives the manual ticket approval step. Missing, expired, rejected or revoked credentials can still block a proposal. Credential check
WFM_Admin: assign to the master vendor and internal reviewers. Grants the VMS objects, the invite tier fields, Booking Request, and the classes behind the native admin panels.WFM_Guest_User: the base for portal guest access. The Client Shift Manager and Vendor Portal guest users need this plus read and create access to the VMS objects.WFM_Admin to your master vendor and internal reviewers.Client_Shift_Manager and Vendor_Portal) that carry the definition JSON, and set vmsWorkflowMode (autonomous or mediated).ClientShiftManager_* and VendorPortal_* Component Loaders. Missing loaders leave the portal surfaces blank.WFM_Guest_User plus read/create on the VMS objects.b3s__Shift__c and b3s__Booking_Request__c record pages for the master vendor (required for mediated mode).b3s__VMS_Sharing_Group__c records, and a b3s__VMS_Sharing_Group_Assignment__c for the client Account and each sub-vendor. Populate Role on both client and supplier assignments. Set b3s__Tier__c on vendors you want in later waves.b3s__Ticket_Type__c records your workers certify against (for example DBS, Working With Children Check, BLS or ACLS, state licences).b3s__Tier__c = 2 to see staggering), a job owned by the client, a demand shift with b3s__Required_Staff__c, and a booking request with a pattern type. Broadcast, propose from the Vendor Portal, and approve to confirm the placement lands.