Shift check-in

Shift check-in works like an airport check-in. Shortly before a shift starts, the worker opens the Clock app and taps Check in to confirm they are up and on their way. Operations users then see which shifts starting soon have no check-in, and can call the worker or line up cover before the shift becomes a no-show.

Check-in is off unless enabled and can be limited to the clients, jobs or sites that need attendance confirmation.

How it works

  1. A shift that requires check-in comes within the check-in window (2 hours by default) of its scheduled start.
  2. The Clock app's home screen shows an Upcoming shift card with the shift times, a countdown and a Check in button.
  3. Tapping Check in creates a b3s__Geo_Tag__c with b3s__Type__c = Check In, linked to the shift. The tag carries the device location unless GPS collection is turned off for check-ins.
  4. The package automation on Geo Tag stamps the shift:
    • Shift Check-in (b3s__Check_In_Time__c) is set to the tag time, with or without a location.
    • Check-in Location (b3s__Check_In_Location__c) is set when the tag has coordinates.
  5. The card switches to Checked in HH:MM. Once the worker clocks in, the card disappears.

Package automation applies the stamp, so it works for portal users too. When several Check In tags for a shift arrive in one transaction, the latest tag time wins within that transaction. A later insert or update can overwrite the stamp even if its tag time is older. A check-in without a location keeps any location an earlier check-in captured.

Shift fields

Field API name Type Notes
Shift Check-in b3s__Check_In_Time__c Date/Time When the worker checked in. Stamped from the latest Check In Geo Tag
Check-in Location b3s__Check_In_Location__c Geolocation Where the worker checked in. Blank when GPS is not collected
Check-in Distance (m) b3s__Check_In_Distance__c Formula (Number) Metres between the Check-in Location and the Work Site's b3s__Location__c
Check-in Required b3s__Check_In_Required__c Checkbox The shift needs a check-in. Drives the risk reports and the location map

The WFM Admin permission set grants access to all four fields. The Geo Tag Type picklist gains the Check In value.

Populating Check-in Required

Reports and record pages cannot read the Clock app configuration, so the server side needs to know which shifts require check-in. Set b3s__Check_In_Required__c with a record-triggered Flow (or a default value, an integration or the scheduler) for the clients, jobs or sites that use check-in. For example, a before-save Flow on Shift that copies a "Requires check-in" checkbox from the Work Job.

Point the Clock app matcher at the same field (see below) so the app and the reports always agree.

Clock app configuration

Check-in is configured in the Clock In / Out component configuration (b3s__Component_Configuration__mdt, type Clock In / Out Component).

Turn the feature on at the top level:

{
    "canCheckIn": true
}

When canCheckIn is missing or false, the app shows no check-in card.

Tune it on the shift schedulable:

"shift": {
    "objectType": "b3s__Shift__c",
    "checkIn": {
        "windowMinutes": 120,
        "collectLocation": true,
        "checkInFieldPath": "b3s__Check_In_Time__c",
        "condition": {
            "allOrSome": "all",
            "selectors": [
                {
                    "field": "b3s__Check_In_Required__c",
                    "operator": "equals",
                    "value": true
                }
            ]
        }
    }
}
Key Default Description
windowMinutes 120 How many minutes before the scheduled start the check-in card appears
collectLocation true Capture the device location with the check-in. Set false to record the time only
checkInFieldPath b3s__Check_In_Time__c Shift field holding the check-in time. Include it explicitly: the app only loads shift fields named in the configuration, and without it the card cannot tell the shift was already checked in after a refresh
condition none (every shift) Matcher deciding which shifts require check-in. Uses the same allOrSome / selectors format as canStartShift. Any shift field can be tested, for example a job or site lookup

The card picks the soonest shift that starts within the window, has not been clocked in and matches the condition. When collectLocation is on, the button waits for the first location fix. If location fails, the check-in is still recorded and the tag stores the location error.

On a Terminal (coordinates passed in by the kiosk), the terminal's coordinates are used.

Risk reports and dashboard

The time and attendance add-on includes two check-in risk reports. They count shifts that require check-in (b3s__Check_In_Required__c = true), are assigned, not cancelled, not clocked in and have no check-in:

Report Band Dashboard component
WFM TA Check-in High Risk Starts within the next 60 minutes Check-in High Risk gauge. The needle sits in red as soon as one shift is at high risk
WFM TA Check-in Low Risk Starts in 60 to 90 minutes Check-in Low Risk metric, shown in orange when above zero

The bands do not overlap: a shift moves from low to high risk as its start approaches, and drops off both once it starts (it then shows as late or a no-show). Both components sit on the WFM Time and Attendance dashboard, under the KPI row, and drill through to the shift list grouped by site.

The bands are row-level formulas in each report. To change them, edit the CDF1 formula. Time values are fractions of a day (60/1440 is 60 minutes):

IF(AND(ISBLANK(b3s__Shift__c.b3s__Check_In_Time__c), ISBLANK(b3s__Shift__c.b3s__Actual_Start_Time__c),
    b3s__Shift__c.b3s__Scheduled_Start_Time__c > NOW(),
    b3s__Shift__c.b3s__Scheduled_Start_Time__c <= NOW() + 60/1440), 1, 0)

Salesforce dashboards are refreshed on demand or on a schedule, not live. Refresh the dashboard (or schedule a frequent refresh) when monitoring check-ins.

b3s__Check_In_Required__c, b3s__Check_In_Time__c, the Check-in Location and Check-in Distance are available in all three add-on report types for custom reports, for example a check-in rate by client.

Location map

On a Shift record page, the Workforce Location History component shows a Shift check-in tile when the shift requires check-in or has one:

Status Meaning
Checked in (green) Shows when the worker checked in
High risk (red) No check-in and the shift starts within the high-risk window (60 minutes)
Low risk (orange) No check-in and the shift starts within the low-risk window (90 minutes)
Missed check-in (red) The scheduled start has passed with no check-in and no clock-in
Not checked in The worker clocked in without checking in
Awaiting check-in Further out than the low-risk window

Check In Geo Tags appear in the event list with their distance from the site. A Check In tag without coordinates and without an error is shown as Location not collected and is not flagged for review. The windows are set in App Builder with Check-in high risk (minutes) and Check-in low risk (minutes). Keep them in step with the reports.