The Workforce Location History component provides a location command centre on Shift, Booking Request, and Working Pattern records. It maps the worker and work site from configurable relationship paths. On Shift records it can also map time-ordered Geo Tag events and highlight location evidence that may need review.
The component is designed for investigation and context. Distance is a review signal, not proof that an activity is correct or incorrect.
| Record page | Available view |
|---|---|
Shift (b3s__Shift__c) |
Work-site activity, Geo Tag evidence, worker-to-site overview, distance metrics, and review signals |
Booking Request (b3s__Booking_Request__c) |
Work-site overview, with the worker location normally disabled |
Working Pattern (b3s__Working_Pattern__c) |
Worker and work-site overview |
Geo Tags are queried only when the component is on a Shift record. Configuring Geo Tag fields does not enable event evidence on Booking Requests or Working Patterns.
Use a separate component configuration for each record-page type. Field paths always begin on the record where the component is placed.
On a Shift, the component opens in Shift activity view when Shift Geo Tags are enabled.
The activity map shows:
Select an event in the evidence list to select its corresponding map marker. Each event shows its type, recorded time, distance from the site, proximity classification, and any captured location error.
The summary metrics show:
Select Home to site to switch to an overview containing the worker and work-site markers. When both markers are present the map fits them automatically. When only one marker is present, the configured single-location zoom is used.
The component calculates straight-line distances between latitude and longitude coordinates. It does not calculate driving distance, travel time, or a route.
| Classification | Rule |
|---|---|
| Within site area | The event is at or inside the on-site radius. |
| Near site | The event is outside the on-site radius but at or inside the review threshold. |
| Review distance | The event is beyond the review threshold. |
| No location | The event has no usable latitude and longitude. |
| Location failed | The configured Geo Tag error field contains a value. |
| Location not collected | A Check In event with no coordinates and no error (the Clock app is configured not to collect GPS for check-ins). Not flagged for review. |
An event needs review when the location failed, coordinates were not captured (except an intentional location-free check-in), or the calculated distance is greater than the review threshold.
The effective review threshold can never be smaller than the on-site radius. For example, if the on-site radius is 500 metres and the review threshold is configured as 300 metres, the component uses 500 metres for both.
To show a meaningful Near site band, configure the review threshold to be greater than the on-site radius.
Worker and site markers use coordinates when both latitude and longitude are available. If coordinates are unavailable, the component joins the configured address fields and asks the map to locate that postal address.
Geo Tag events require coordinates. Geo Tag records without coordinates remain visible in the evidence list and are classified for review, but cannot be displayed as map markers.
The home-to-site distance and all Geo Tag proximity classifications require coordinates. A postal-address marker does not provide a calculated distance.
The worker and site settings accept relationship paths from the current record. Address settings accept comma-separated paths in display order.
| Property | App Builder default | Description |
|---|---|---|
| Worker latitude path | b3s__Contact__r.MailingLatitude |
Latitude for the worker marker. |
| Worker longitude path | b3s__Contact__r.MailingLongitude |
Longitude for the worker marker. |
| Worker address paths | Contact mailing-address fields | Comma-separated fallback address paths. |
| Site latitude path | b3s__Work_Site__r.b3s__Location__Latitude__s |
Latitude for the work-site marker. |
| Site longitude path | b3s__Work_Site__r.b3s__Location__Longitude__s |
Longitude for the work-site marker. |
| Site address paths | Work Site address fields | Comma-separated fallback address paths. |
| Show worker location | true |
Shows the worker marker, worker address, and home-to-site metric. |
| Show Shift Geo Tags | true |
Shows Shift activity evidence on Shift records. |
| Geo Tag object API name | b3s__Geo_Tag__c |
Object queried for Shift location events. |
| Geo Tag Shift lookup field | b3s__Shift__c |
Direct field relating a Geo Tag to its Shift. |
| Geo Tag latitude field | b3s__Location__Latitude__s |
Geo Tag latitude field. |
| Geo Tag longitude field | b3s__Location__Longitude__s |
Geo Tag longitude field. |
| Geo Tag type field | b3s__Type__c |
Event type displayed verbatim in the evidence list. |
| Geo Tag time field | b3s__Tag_Time__c |
Event time used for display and ascending ordering. |
| Geo Tag location error field | b3s__Location_Error__c |
Error text used to identify failed location capture. |
| Single-location map zoom | 10 |
Zoom used when the overview has one marker. Multiple overview markers are fitted automatically. |
| Shift activity map zoom | 15 |
Site-focused Shift activity zoom, from 1 to 22. |
| On-site radius | 400 metres |
Distance at or inside which an event is classified as within the site area. |
| Distance review threshold | 400 metres |
Distance beyond which an event is highlighted for review. |
| Check-in high risk (minutes) | 60 |
No check-in and the shift starts within this many minutes: High risk. |
| Check-in low risk (minutes) | 90 |
No check-in and the shift starts within this many minutes: Low risk. |
All configured paths are checked against Salesforce describe information before they are added to the query. Invalid worker or site paths are treated as unavailable data so that one unsupported relationship does not prevent the card from loading.
Geo Tag object and field names must exist when Geo Tag loading is enabled on a Shift. An invalid Geo Tag configuration produces an error in the component.
These examples use the standard 3B WFM+VMS data model.
Worker latitude: b3s__Contact__r.MailingLatitude
Worker longitude: b3s__Contact__r.MailingLongitude
Site latitude: b3s__Work_Site__r.b3s__Location__Latitude__s
Site longitude: b3s__Work_Site__r.b3s__Location__Longitude__s
Keep Show worker location and Show Shift Geo Tags enabled when the page is intended for location-evidence review.
Site latitude: b3s__Site__r.b3s__Location__Latitude__s
Site longitude: b3s__Site__r.b3s__Location__Longitude__s
Site address: b3s__Site__r.b3s__Street__c,b3s__Site__r.b3s__City__c,b3s__Site__r.b3s__Province_State__c,b3s__Site__r.b3s__Postal_Code__c,b3s__Site__r.b3s__Country__c
Disable Show worker location and Show Shift Geo Tags because a Booking Request normally represents demand rather than a booked worker.
Worker latitude: b3s__Contact__r.MailingLatitude
Worker longitude: b3s__Contact__r.MailingLongitude
Site latitude: b3s__Site__r.b3s__Location__Latitude__s
Site longitude: b3s__Site__r.b3s__Location__Longitude__s
Site address: b3s__Site__r.b3s__Street__c,b3s__Site__r.b3s__City__c,b3s__Site__r.b3s__Province_State__c,b3s__Site__r.b3s__Postal_Code__c,b3s__Site__r.b3s__Country__c
Disable Show Shift Geo Tags. A Working Pattern shows the worker and placement site overview, not individual Shift events.
The component respects record sharing and field permissions. Users only see the current record, related location fields, and Geo Tag records they are allowed to read.
Location data is not client-cached because Shift events may be written in the background. Select the refresh action in the card header to retrieve the latest record and Geo Tag values.
Check that the configured latitude and longitude both contain values, or that the configured address paths produce a usable address. For a Booking Request or Working Pattern, confirm that the Site paths start from that object rather than using the Shift b3s__Work_Site__r path.
Distance calculations require coordinates at both points. Postal addresses may create map markers but do not provide coordinates back to the component.
Confirm that:
Geo Tags without coordinates appear in the evidence list but not on the map.
Review the event's error, coordinate availability, and straight-line distance from the site. The highlight identifies evidence that needs attention. It does not make an attendance or compliance decision.