VMS-only deployments

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.

What VMS solves on its own

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.

The minimal footprint

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.

How requisitions are created without the planner

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.

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.

Routing modes

The workflow runs in one of two modes, set on the Client Shift Manager app definition with the top-level vmsWorkflowMode key:

{
    "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 the ClientShiftManager_VmsProposals loader, and drop 'Proposed' from the proposals entry in the definition's badges array so the client badge only counts what it can act on.

How VMS also layers onto a full WFM deployment

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:

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.

Configuration walk-through

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.

The two app definitions

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.

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" }
    ]
}

Tab badges

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'"]
    }
]

Per-tab loaders

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.

VMS sharing groups (matching clients to vendors)

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.

Credentials

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

Permission sets

Go-live checklist

  1. Assign WFM_Admin to your master vendor and internal reviewers.
  2. Deploy the app Component Configurations (Client_Shift_Manager and Vendor_Portal) that carry the definition JSON, and set vmsWorkflowMode (autonomous or mediated).
  3. Deploy all the ClientShiftManager_* and VendorPortal_* Component Loaders. Missing loaders leave the portal surfaces blank.
  4. Stand up both guest portals with a valid session key (contactId plus expiry), and give the guest user profile WFM_Guest_User plus read/create on the VMS objects.
  5. Add the native broadcast panel to the b3s__Shift__c and b3s__Booking_Request__c record pages for the master vendor (required for mediated mode).
  6. Create the VMS sharing pool: one or more 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.
  7. Create the b3s__Ticket_Type__c records your workers certify against (for example DBS, Working With Children Check, BLS or ACLS, state licences).
  8. If you use booking requests, build the Working Pattern Types the requests reference.
  9. Optionally wire Timesheet Submission and Approval so placed workers' shifts flow through to the pay side.
  10. Seed demo data: one client Account plus two or more vendor Accounts in a shared group (give one vendor 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.