Configure time tracking
Prepare flair time tracking for employees by defining expected hours, tracking rules, approvals, labels, and Salesforce validation.
HR Admins and Salesforce Admins in Salesforce. Employees use the resulting configuration in the Employee Hub, mobile app, Slack, or connected devices.
Before you begin
- You can access the flair HR app and the relevant Salesforce Setup objects.
- Employee records have the employment dates needed for workload assignments.
Configure a workload template
- In the flair HR app, open Attendance → Workload Templates.
- Click New Workload Template.
- Enter a descriptive name.
- In Counting Period, select weekly or monthly counting. For monthly counting, flair can calculate each month's hours from the working days. See Calculate monthly hours from working days.
- Select the first day of the workweek.
- Select the applicable Time Framework.
- If the workload does not require time tracking, select Skip Time Tracking.
- Select a fixed or flexible workload model.
- Enter the required hours and break schedule.
- In Time Zone, select the time zone the employees work in.
- Click Save.

flair creates timesheet days and their time entries in the workload's time zone and shows the timesheet in that zone. If Time Zone is empty, flair uses your Salesforce org's default time zone. A workload created from the template starts with the template's time zone, and you can also set Time Zone directly on an employee's workload.
Clone a workload template
To create a template that differs only slightly from an existing one, clone it instead of building it from scratch.
- In the flair HR app, open Attendance → Workload templates.
- In the template's row, open the row menu and select Clone.
- Change the settings that differ. The copy starts with the source template's settings, weekly schedule, and scheduled breaks, and its name ends in "(copy)".
- Click Save.
flair creates the copy as a new template when you click Save. The source template and its schedule don't change.

Override the public holidays calendar in a flow
The Assign workload from template flow action creates workloads from a workload template, for example in your own copy of the Create Employee flow. Its optional Public Holidays Calendar Id input replaces the template's public holidays calendar on the created workload. One template can then serve employees in regions with different public holidays.
- In Salesforce, open your flow in Flow Builder.
- Open the Action element that calls Assign workload from template, or add one.
- In Public Holidays Calendar Id, map the Id of the public holidays calendar to use.
- Save and activate the flow.
If Public Holidays Calendar Id is empty, the workload keeps the template's calendar. The packaged Create Employee flow doesn't set this input.
Configure a Time Framework
- In the flair HR app, open Time Frameworks.
- Click New.
- Enter a name.
- Configure working hours, break rules, overtime calculation, rounding, and time limits.
- Click Save.

Enable geolocation tracking
The Geolocation (Beta) section controls whether flair saves an employee's location with mobile time-tracking events. This section is visible only to users with flair's beta-features permission. If you don't see it, contact flair support.
- Open the Time Framework.
- On the Details tab, expand Geolocation (Beta).
- Enable Track Geolocation.
- Click Save. flair records coordinates when employees clock in, clock out, or start or end a break in the mobile app.

The mobile app stores coordinates for time entries recorded offline and submits them when the device reconnects. If location services or permission access is unavailable, the app blocks the time-tracking action and displays an error.
In Salesforce, flair stores the recorded location on the related Time Entry and Time Entry Break records. Time entries use Start Datetime Coordinates, End Datetime Coordinates, Start Datetime Coordinates Accuracy, and End Datetime Coordinates Accuracy. Breaks use Start Datetime Coordinates, End Datetime Coordinates, Start Datetime Coordinates Accuracy, and End Datetime Coordinates Accuracy. If these fields are not visible to managers, a Salesforce Admin must add them to the relevant page layout or report.
Configure rounding
Time entries and breaks can use different rounding rules for different employee groups.
| Rounding Interval | Result |
|---|---|
| 1 minute | Removes seconds without further rounding. |
| 5 minutes | Rounds to a 5-minute boundary. |
| 10 minutes | Rounds to a 10-minute boundary. |
| 15 minutes | Rounds to a 15-minute boundary. |
| 30 minutes | Rounds to a 30-minute boundary. |
For intervals longer than one minute, select Nearest, Up, or Down as the Rounding Method.
Define daily schedule periods
Daily schedule periods weight tracked time by time of day, for example a higher multiplier for night work. A period can apply to all weekdays or only to selected ones, such as a shorter window on Saturdays.
- Open the Time Framework.
- Open the Daily Schedule tab.
- Click Add period.
- Enter the Name, Start Time, and End Time.
- In Multiplier, enter the factor for time worked in this period, such as
1for standard hours or2for 100% overtime. - To limit the period to certain weekdays, click the days it should not apply to. All days are selected by default, and at least one day must stay selected.
- Click Save.
The tab warns you when periods don't cover the whole day or when periods overlap on the same days:
- Time outside every period counts as unpaid time with a multiplier of 0. If a Time Framework has no periods, flair uses a multiplier of 1.
- When periods overlap, flair adds up the results of every matching period.

Configure time limits
- Open the Time Framework.
- Open Time Limits.
- Select whether to allow unrestricted tracking, restrict hours by workload, or use a custom daily duration.
- Configure maximum daily hours, minimum break duration, and retroactive entry limits.
- If you selected Restrict daily hours with custom duration, decide whether to keep Restrict tracking on non-working days selected. It's selected by default and sets the daily limit to zero on days with no working hours in the employee's workload. Clear it to apply the custom daily limit on those days too.
- Select whether flair clocks the employee out or allows tracking with a notification when the limit is reached.
- To prevent entries for later dates, enable Restrict Future Time and Project Entries.
- Click Save.
To require a minimum rest period between working days, see Enforce a minimum rest period.

Configure break rules
Break rules define the break an employee must take for a given working time and how flair helps them take it.
- Open the Time Framework, then open the Breaks tab.
- In Minimal Break Length, enter the shortest break in minutes that counts toward the required break time.
- Under Legislation Rules, click Add rule.
- In Work more than, enter the working time in hours and minutes. In Requires break, enter the required break in minutes.
- Repeat for each threshold, such as 30 minutes after 6 hours and 45 minutes after 9 hours. A longer working time can't require a shorter break.
- Under Rules and Notifications, turn on the options you need.
- Click Save.
The options under Rules and Notifications work as follows:
| Option | What it does |
|---|---|
| Notify employees when it is break time | Reminds employees in the Employee Hub to start a break when a scheduled break or a legislation rule makes one due. |
| Suggest adding a break when clocking out | Suggests in the Employee Hub that employees add a break to their timesheet when they clock out without one. |
| Automatically deduct unused break time from time entry | At clock-out, extends the longest break, or adds a break if there is none, to cover any missing required break time. |
| Always deduct full required legislation break from time entry. | Changes how automatic deduction calculates the break. See Deduct the full legislated break. |
| Block ending breaks early | Asks employees to confirm when they end a break that is shorter than Minimal Break Length, or end it during a break scheduled in their workload. It applies in the Employee Hub and the mobile app. |
The rules work together. flair applies the rule with the highest Work more than value that the employee's working time exceeds. Only breaks at least as long as Minimal Break Length count toward the required break.
Employees can see their break rules in the Employee Hub and on the Time Tracking Info sheet in the mobile app.

Deduct the full legislated break
By default, automatic break deduction removes only the difference between the tracked break and the legislated minimum. Enable this option to deduct the full legislated break instead, even when the employee took a shorter break. It takes effect only when Automatically deduct unused break time from time entry is on.
- Open the Time Framework.
- Open the Breaks tab.
- Enable Always deduct full required legislation break from time entry.
- Click Save.
For a shift requiring a 45-minute break, this deducts the full 45 minutes even if only 10 minutes were needed to reach the minimum — 6h10m worked, 45m required → 45m deducted → 5h25m counted, instead of 10m deducted → 6h counted. The Employee Hub's automatic-break summary reflects the setting with "The full required legislation break is always deducted when clocking out."

Hide time tracking controls in Hub or mobile
Admins can hide the clock-in and clock-out controls while keeping timesheets visible, independently for the Employee Hub and the mobile app — useful for organizations that track time through a kiosk, a scheduler, or another system.
- Open the Time Framework, then expand Time on the Details tab.
- Enable Hide Time Tracking Controls in Hub to hide clock-in and clock-out in the Employee Hub, or Hide Time Tracking Controls in Mobile to hide them in the mobile app.
- Click Save.
Employees keep view access to their timesheets; they cannot start or stop time from the app where the control is hidden.
![]()
Require notes when employees clock out
Make employees describe their work before they clock out. The setting applies to every Time Tracking Type.
- Open the Time Framework, then expand Time on the Details tab.
- Enable Require Notes on Clock Out.
- Click Save.
When an employee clocks out in the Employee Hub or the mobile app, flair asks for notes and completes the clock-out only once they're filled in. Notes already on the running time entry are prefilled. If the employee closes the prompt without notes, the timer keeps running.
Assign approval responsibilities
Timesheet approval follows an approval policy. The default policy asks the manager who holds the Parent Position in the company hierarchy and the Additional Managers with Time Entries Approval. See Approval Policies. You can review the main and additional managers on the employee record.
To assign an additional approver:
- In the flair HR app, open Staff (or the legacy Staff & Docs tab).
- Open Additional Managers.
- Click Assign.
- Select the manager.
- Select the employee.
- Enable Time Entries Approval.
- Save the assignment.

Approve timesheets automatically
flair ships the scheduled flow [Timesheet] Auto-approve timesheets after a time period as an inactive, overridable flow. You don't activate the packaged flow itself: you save it as an override and activate the override, which then runs instead of the packaged flow. The override runs daily at 12:30 AM in your org's default time zone and approves every timesheet that is still pending once more than seven days (by default) have passed since the timesheet's end date.
- In Salesforce, open Setup.
- In Quick Find, enter
Flows, and then open Flows. - Click [Timesheet] Auto-approve timesheets after a time period. The flow opens in Flow Builder in a new browser tab.
- Click the arrow next to Save As New Version, and select Save As New Flow. The Save as dialog explains that the new flow overrides the original flow.
- In Flow Label, enter a name, and click Save. The override opens in Flow Builder with an Override badge next to its name.
- Optional: To change the waiting period, click Toggle Toolbox, and under Constants, click
daysNumber. The Edit Constant dialog opens. - Optional: In Value, enter the number of days, click Done, and then click Save.
- Click Activate. The button changes to Deactivate.
The flow changes only timesheets with a pending approval status. Timesheets that a manager already approved or rejected stay unchanged.
Configure break types
- In the flair HR app, open Time Frameworks.
- Select the Time Framework, then open the Breaks tab.
- Under Break Types, click Add Break Type.
- Enter the Name, then pick an Icon — or choose the custom icon and enter a Custom Emoji.
- Set Min Duration (min) and Sort Order, and select Counts Toward Required Break or Default if they apply.
- Click Save. The whole tab saves together, so one save covers every break type you added.
If no break types are defined, employees get the Time Framework's default break configuration instead of a picker.

Employees can select the resulting type, such as Lunch, Coffee, or Smoke, when they start a break in the Employee Hub or mobile app.
Block tracking during absences
- In the flair HR app, open Absence Settings.
- Create or edit the absence category.
- Enable Time Tracking Restricted.
- Click Save.
![]()
flair blocks tracking during approved absences in that category. An auto-tracking flow also skips days with full-time or part-time absences.
Keep entries within workload dates
flair prevents employees from creating time entries outside the active workload date range. When an employee's schedule changes, end the old workload and create a new workload for the next period.
Create time entries automatically from the workload
For employees who don't clock in, flair can create each day's time entry from the working hours in their workload. flair ships the scheduled flow template [Employee] Auto-create time entries based on workload schedule as an inactive draft. The packaged template is read-only, so you activate your own copy of it. Once active, the copy runs daily at 4:00 AM in your org's default time zone for all active employees and creates a time entry for the current day.
- In Salesforce, open Setup.
- In Quick Find, enter
Flows, and then open Flows. - Click [Employee] Auto-create time entries based on workload schedule. The flow opens in Flow Builder in a new browser tab.
- Click the arrow next to Save As New Version, and select Save As New Flow. The Save as dialog opens with A New Flow selected.
- In Flow Label, enter a name, and click Save. Your copy opens in Flow Builder.
- Optional: To run the flow for only some employees, in the start element, click Edit next to Object. The Choose Object and Filter Conditions panel shows the Active condition.
- Optional: Click Add Condition, define the condition, and then click Save.
- Click Activate. The button changes to Deactivate.
For each employee, flair takes the start and end time the workload defines for that weekday and adds the workload's scheduled breaks as breaks. flair skips a day when:
- The workload has no start or end time for that weekday.
- The employee has an absence or a public holiday on that day.
- The employee already has time entries on that day.
To fill in a date range instead, for example past weeks, use the Flow action Auto create time entries from workload for a period (async) in your own flow. It takes the employees, a Start Date, and an End Date, and creates the entries in the background.
Create a flexible workload
- In the flair HR app, open the employee record.
- Open Time And Workload.
- Click Add New Workload.
- Set the workload model to Flexible.
- Enter the employee's FTE percentage.
- For a completely flexible schedule, leave daily hours undefined.
- For a rotating schedule, set hours for the relevant dates in the calendar.
- Click Save.
For absence policies, configure FTE-based proration so leave entitlement follows the flexible workload.
End a workload
- On the employee record, open Time And Workload.
- From the active workload menu, select Edit.
- Enter the End Date.
- Click Save.
- If the schedule continues under different rules, create the next workload with a later start date.
Assign Time Frameworks in bulk
- From the App Launcher (⋮⋮ grid icon), open Employee Workloads.
- Select the All list view.
- Select the employees.
- Click Edit Time Framework: Item.
- Select the Time Framework.
- Enable Update selected items.
- Click Apply.
- Click Save.
Create and configure Time Types
Time Types label work such as regular work, travel, or on-call time. They can also split a worked period into regular and overtime parts on the timesheet.
- In the flair HR app, open Time Types.
- Click New.
- Enter the Time Type name.
- To apply the type only within the employee's workload, enable Regular Hours Only.
- To apply the type only beyond the day's workload, enable Overtime Hours Only.
- Click Save.
Leave both options disabled to apply the Time Type to the entire worked period. Time Framework overtime rules still determine when overtime accrues and how flair compensates it.
Block time tracking on selected weekdays
Create validation rules on both Time Entry objects so employees cannot use the tracker or add an entry on the selected weekday.
Block tracked entries
- In Salesforce, open Setup → Object Manager.
- Select Time Entry.
- Open Validation Rules.
- Click New.
- Enter
WEEKDAY(DATEVALUE(flair__Start_Datetime__c)) = 6as the formula to block Friday. - Enter the message employees should see in Error Message.
- Save and activate the rule.
The number represents the weekday, starting with Sunday as 1.

Block manually added entries
- In Object Manager, select Time Entry Change Request.
- Open Validation Rules.
- Click New.
- Enter the same weekday formula.
- Enter the error message.
- Save and activate the rule.
Add custom fields to workloads and workload templates
- From the App Launcher (⋮⋮ grid icon), open Employee Workload Templates.
- Select the template you want to change.
- From the gear menu, select Edit Object.
- In Object Manager, open Page Layouts.
- Click New.
- Leave Existing Page Layout set to None.
- Enter
CustomFormLayoutin Page Layout Name. - In Employee Workload Template Detail, edit Fields (Header Not Visible).
- Change Section Name to
IGNORE. - Drag the fields into Employee Workload Template Detail.
- Click Save.
- Return to the workload template, and then refresh the page.
CustomFormLayout must match this spelling and capitalization for the custom form to work.

Keep overnight shifts in one time entry
- In Salesforce, open Setup.
- In Quick Find, enter
Time Framework Configuration. - Open Time Framework Configuration.
- Enable Do Not Split Time for Overnight.
- Save the setting.
When enabled, an overnight shift remains one continuous time entry instead of splitting at midnight. Watch the overnight-shift configuration video.