Skip to main content

Configuring PDKS settings (rule profiles, general, security, QR, notifications, integration)

Explains the ready-made rule profiles (office, store, production, field) and assigning them to branches or locations, the general rules, location and device security, QR configuration, the notification matrix, API key and webhook integration and the…

This article explains the company-wide rules on Configuration > Attendance > Settings. Only users with PDKS Admin change this page. These settings are the company default: where a branch or a location has a rule profile, the profile's rules apply there (see Rule profiles).

Before you start

  • You have PDKS Admin.

  • Changes are not applied until you press Save Settings; an Unsaved changes notice appears on top and Discard throws them away. Actions on the Integration & API tab apply immediately without saving.

Step by step

  1. In the left menu go to Configuration > Attendance > Settings. The page opens on Rule profiles. The technical settings sit under Advanced in the left menu: General, Location & Security, QR Configuration, Notifications, Late Policy, Integration & API.

  2. A ready-made profile is enough for most companies. To change a detail, make the change on the relevant tab and click Save Settings.

Rule profiles

The page opens with one question: What kind of work happens at this place? There are four ready-made profiles; each card says in three lines what it means.

Rule profiles

Profile

When

Key rules

Office

Flexible arrival, breaks not tracked

15 min grace, check-in from 60 min before the shift, locks at 120 min late, a forgotten check-out closes at the planned end

Store

Strict arrival, breaks tracked

5 min grace, check-in from 30 min before, locks at 60 min late, breaks are scanned (over 60 min is a long break)

Production

Shift bound, tight limits

5 min grace, check-in from 20 min before, locks at 30 min late, absent after 120 min, breaks are scanned

Field

Scans away from the location, photo optional

30 min grace, check-in from 120 min before, a scan away from the location is recorded, not refused

  1. On the profile that fits most of the company, click Apply company-wide. The values are saved at once and summed up in the Company default box. The button is off while the Advanced tabs have unsaved changes; save those first.

  2. If a branch or a location works differently, click Add for a branch or location on that profile. In the window you can change the name and each rule; a duration left empty takes the company default. Save adds the profile to Branch and location profiles.

  3. In Rules of branches and locations, pick the profile in the list next to each branch and location. Picking Company default removes the assignment.

    Rules of branches and locations
  4. To change a profile click the pencil (Edit details); to delete it click the bin. The branches and locations of a deleted profile go back to the company default.

Profile edit window
  • The rules in force are decided in this order: the profile of the scanned location, else the profile of the employee's branch, else the company default. Where no location is picked (the absence sweep, for example) the employee's primary location counts.

  • A profile covers the late grace, warning, entry lock, absent after, early entry, early leave grace, excuse, break tracking, photo, automatic check-out and scans away from the location. Security, QR, notification and reminder settings stay company-wide.

  • A profile change only affects later scans; past records and discrepancies are not recalculated.

  • The location card shows the profile assigned to the location; in the employee detail on the Employees tab the Attendance rules row says which profile the employee runs on and which branch or location it comes from. On the Scan QR screen the employee sees the early entry and lock rule of the location they pick.

  • A user with PDKS Manager sees only the branches they are responsible for and the locations of their own people, and cannot change the assignments. Profile and assignment changes are written to the Change History.

General

General tab

Setting

Description

Default

PDKS module active

When off, nobody can scan and no manual record can be entered in this module; the absence, auto checkout and daily summary jobs stop. The time it was off does not count as absence after it is turned back on.

On

Timezone

Scan times, lateness, absence, auto checkout and the 19:00 daily summary follow this time.

Europe/Istanbul

Early leave tolerance

A check-out this many minutes before the planned end is not an early leave (0–120).

15 min

Early entry block

A check-in can be scanned at most this long before the shift starts (0–240).

30 min

Auto checkout (forget prevention)

When on, if there is still no check-out 2 hours after the planned end, the planned end is written as the check-out. When off, the missing check-out reaches the manager as a discrepancy.

Off

Check out on leaving the area (automatic check-in)

Employees with automatic check-in on in the mobile app are checked out when they leave the location's area. Leaving within 10 min of checking in is recorded, at the time they left, if they are still away when the 10 min are over; leaving an area other than the one checked in at, or during a break, is ignored. When off, employees check out themselves (Checking in by location and automatic check-in).

On

Duplicate scan prevention

The same movement repeated within this time is ignored; 0 turns it off (0–600 s).

60 s

Break tracking required

Break scans must follow the order; no check-out while a break is open.

Off

Long break threshold

A break longer than this opens a long break discrepancy at break end. If 0, planned break + break tolerance is used.

90 min

Break tolerance

Used only when the long break threshold is 0.

10 min

Planned break duration

The unpaid break deducted from each shift in the weekly plan.

60 min

Location & Security

Location & Security tab

Setting

Description

Default

Fake location (fake GPS) detection

If the phone reports a mock location app, the scan is refused and a Fake GPS discrepancy reaches the admin. The employee sees "A mock location app is on on your phone. Turn it off and try again."

On

Root / Jailbreak detection

If the phone reports being rooted or jailbroken, the scan is refused.

On

Apps and browsers that cannot report

While fake location or root detection is on, what happens to check-ins from an older app version or a browser that cannot report the phone's state: Allow (as before), Accept and ask to update (the check-in is recorded, the employee sees an update warning, the record is marked) or Refuse (the employee is told to update the app or to check in from the app).

Allow

Refuse suspicious locations

While off, suspicious locations the server finds (an unusual speed, an exactly repeated position, an old or future location time, 0 m accuracy, a QR scanned far outside its zone) do not stop the check-in: the record is marked and a Fake GPS discrepancy with the detail Suspicious location reaches the admin. Turn it on to refuse such check-ins.

Off

Extra location radius

Extra distance added to every location's radius (0–200 m).

0 m

Largest radius an area suggestion may propose

The suggestion learnt from wrong-location refusals never goes beyond this radius; refusals from farther away are left out (20–5000 m). Details: Locations.

300 m

Refusals needed for a suggestion

A location shows a suggestion after this many refusals just outside its area in the last 30 days; one person counts once a day (2–100).

5

How long a declined suggestion stays hidden

A suggestion answered with Not now is hidden for this many days (1–180 days).

30 days

Scan attempt limit

The most attempts an employee can make per minute (1–60). Location-far rejections do not count.

6 /min

Auto quarantine

A device reported as faking its location or rooted is quarantined immediately.

On

Device binding

The employee is bound to the device of their first successful scan; another device needs manager approval. In a browser the device id belongs to that browser.

Off

Photo verification

A front-camera photo is required on every scan. While Check-in without internet is off, the offline queue cannot be used; while it is on, the photo also waits encrypted on the phone. Photos are stored encrypted.

Off

Photo Retention

Expired photos are deleted every night; the scan record stays (1–730 days).

90 days

Hybrid Wi-Fi verification / Company Wi-Fi name

When GPS is weak, the area is widened a limited amount for a phone on the company Wi-Fi. Works in the app version that reports the network name (see the note below).

Off

Check-in without internet / Longest delay

A check-in or check-out taken where there is no signal waits encrypted on the phone, is written with the time it was taken once the phone is online, and shows in Records with the Offline tag. A record that arrives later than Longest delay (1–72 hours) or whose time does not hold is refused and the employee is told why. While off, the My day screen has no check-in button. Details: Checking in without internet.

Off / 12 hours

BLE beacon support

Bluetooth beacon proximity widens the area a limited amount when GPS is weak. Only works with clients that report beacons (see the note below).

Off

IP restriction / Allowed IP addresses

Scans only from allowed IP addresses. Full address (88.245.10.4), CIDR (10.0.0.0/24) or wildcard range (88.245.11.*). Employees on mobile data cannot scan.

Off

Note: Fake location, root/jailbreak and Wi-Fi network name checks work in the Teamso app version that reports the phone's state at the moment of the scan. Browsers and older app versions cannot report it; the Apps and browsers that cannot report rule decides what happens to their check-ins. If a location has its own Wi-Fi name, a check-in from a phone that reports another network or mobile data is refused with Wi-Fi mismatch; an app not allowed to read the network name and a browser are not held to it. The beacon check only works with clients that report a beacon.

Protection coverage

Protection coverage summary

The Protection coverage box below root detection looks at each employee's latest scan of the last 30 days: from the app version that reports the phone's state (Protected), from an older app that cannot (Older app), or from a browser. Unknown is a scan made before this update. The box also says which app version the protection starts with.

  1. Click Show ... unprotected employees. The window lists each employee's name, state, app version and last scan.

  2. Ask the employees on the list to update the app.

  3. Once few unprotected employees are left, set Apps and browsers that cannot report to Refuse.

Tip: Start with Accept and ask to update: nobody is locked out and an employee who has not updated sees a warning on every check-in.

QR Configuration

Setting

Description

Default

Default QR type

The type preselected for new QR codes (Dynamic or Static). Existing codes do not change.

Dynamic

Dynamic QR refresh interval

The preset for new dynamic codes. Cannot exceed the Code validity.

60 s

Screenshot prevention

The code is hidden when the tab goes to the background, right click is blocked, dynamic codes cannot be downloaded or printed.

On

Signature algorithm

HMAC-SHA256 or HMAC-SHA512. Changing it does not break existing codes.

HMAC-SHA256

Code validity

How long a rotating code can be scanned after it is generated (30–600 s). Does not apply to static codes.

90 s

QR screen readability mode

The code is shown on a white background with high contrast; supporting browsers keep the screen from dimming.

On

Notifications

In the Notification Matrix each row is an event (e.g. Late arrival, Absence, Excuse submitted, Correction request received, Daily summary, Webhook delivery failed). The columns on the left pick the channel (Push, SMS, E-mail), those on the right the recipient (Admin, Manager, Employee). Clicking a column header turns that column on or off for every event. A row with no channel or recipient says "reaches nobody". The three rows in the Forgotten scans group are when an employee's request for a movement they forgot to scan arrives, is approved and is rejected; as long as at least one channel is on, the decision always reaches the employee, whatever recipients are selected. The Reminders and notices ahead group holds the check-in and check-out reminders (default recipient Employee) and the employee's notice that they will be late or not come (default Admin and Manager) (Check-in and check-out reminders).

Notification Matrix
  • Admin: company administrators and those with PDKS admin permission. Manager: the employee's line manager and the PDKS managers responsible for the employee's branch. Employee: the employee the event belongs to.

  • The daily summary, the pending excuse reminder and the webhook warning do not belong to a single employee, so on these rows Manager means all managers and Employee all active employees.

  • Daily summary and Excuse pending approval go out every day at 19:00 (company time).

  • The employee who sent an excuse is always told about the approval or rejection, even when the Employee column is not ticked.

  • SMS goes only to people with a mobile phone registered in the system.

Integration & API

This tab lets external software such as accounting, payroll or reporting systems reach PDKS data.

  1. In API Settings click Generate Key (while there is no key yet, the Generate Key button in the table does the same), enter the Key Name and choose the validity (30, 90, 365 days or unlimited ∞). The key is shown only once; store it safely. If you think it leaked, use Renew or Revoke.

  2. The key can only read (records, locations, discrepancies, weekly plan, summary); it cannot add records, change settings or scan QR codes. It is sent in the X-Teamso-Api-Key header. The Endpoint List and Download Postman Collection are meant for whoever builds the integration. The key works only while the company is active and has the PDKS package.

  3. In Webhook Settings use Add Webhook to set the Target URL (must start with https://) and the Subscribed events. The Secret Key is shown only once; change it with Regenerate Secret. Send a trial message with Send test and follow the results in Delivery History.

  4. Failed deliveries are retried after 1 min, 5 min, 30 min, 2 h and 6 h; if all fail, the Webhook delivery failed notification is sent.

Integration & API tab

Change History

Change History at the top right shows who changed what and when. The Configuration changes and All activity tabs at the top of the window pick the scope and show how many records each holds. Search with the Search person, action, detail box and filter with the Person, Action type and Date chips; Clear all removes the filters. Automatic actions appear as System. The Detail column names the person a record is about (e.g. "Person: Ayşe Yılmaz"); if that person is no longer in the list it shows "Unknown person". The pages are at the bottom of the list; on narrow screens the records are shown as cards.

Result

Saved settings apply to scans made afterwards; past scans are not re-evaluated. The Code validity applies to every rotating code immediately; the default type and refresh interval only preset new codes.

Common issues

Symptom: Save Settings does nothing and "Fix the highlighted fields before saving" appears.
​Cause: A field is invalid (e.g. late thresholds out of order, an empty list with IP restriction on, a refresh longer than the code validity).
​Solution: Fix the highlighted field.

Symptom: You turned on a fake GPS, root or Wi-Fi setting but some employees' scans did not change.
​Cause: These employees scan from an older app version or a browser that cannot report the phone's state.
​Solution: See who they are in the Protection coverage box, ask them to update the app and set Apps and browsers that cannot report to Accept and ask to update or Refuse.

Symptom: An accepted check-in raised a Fake GPS discrepancy whose detail says "Suspicious location".
​Cause: The server found something unusual on the check-in (for example a speed impossible even by car between two check-ins). It is an estimate, not proof.
​Solution: Look at the findings in the record's details, talk to the employee and approve or reject the discrepancy. It has no payroll effect.

Symptom: An external system gets 403 with the API key.
​Cause: The key can only read (GET), or the company has no PDKS package.
​Solution: Actions other than reading need an employee session; check the package status.

Related articles

Did this answer your question?