Shift Location in Frappe HR: Mapping Locations & Geofencing
A Shift Location is used to map locations to Shift Assignments. It can also power geofencing making sure an employee can only check in when they are within a set radius of the location. That’s useful for tying attendance to a physical site, so people can’t mark themselves present from somewhere else.
BEFORE YOU START
If you intend to use geofencing, first enable Allow Geolocation Tracking under HR Settings. Without it, the radius and coordinate fields won’t come into play.
How to create a Shift Location
Go to Human Resources > Shift & Attendance > Shift Location:
- Open the Shift Location list and click Add Shift Location.
- Set the Location Name.
- For geofencing, make sure Allow Geolocation Tracking is enabled in HR Settings (see above).
- Set the Checkin Radius along with the Latitude and Longitude or click Fetch Geolocation to fill the coordinates automatically.
- Save.
Geofencing
To put geofencing into effect, assign a shift to an employee with the desired Shift Location. From then on, when that employee tries to check in from outside the Checkin Radius of the location, they’ll hit an error that blocks the check-in. Inside the radius, check-in works as normal.
TIP
Set the Checkin Radius generously enough to cover your whole site building, entrance, and parking so genuine on-site staff aren’t blocked, while still keeping it tight enough that off-site check-ins are rejected. The Fetch Geolocation button, used while standing at the location, is the easiest way to get accurate coordinates.
Related Topics
- Shift Assignment
- Shift Type
- Employee Checkin
- Shift Management
SUMMARY
A Shift Location maps a location to Shift Assignments and can enforce geofencing. Enable Allow Geolocation Tracking in HR Settings, then create a Shift Location with a name, a Checkin Radius, and coordinates (entered manually or via Fetch Geolocation). Assign a shift with that location to an employee, and any check-in attempted outside the radius is blocked keeping attendance tied to the actual site.