Documents & E-Signatures

Onboarding

Onboarding task lists driven by templates, signature-gated tasks, per-hire document copies, due dates anchored to the start date, and the Action Required tray.

Onboarding

Onboarding in BookYourPTO turns "get the new hire set up" into a tracked checklist of tasks — some of which require a document to be signed before they can be completed.

Onboarding is NOT auto-started on hire. Creating a user does not kick off onboarding. It's a deliberate operator action. The old standalone /onboarding page now simply redirects to the employee profile's Onboarding tab at /users/:id?tab=onboarding.

Templates → instances

An onboarding template holds a set of task definitions. When you create an instance for a specific new hire, those definitions are copied into per-employee tasks. Editing the template later doesn't disturb hires already in progress.

Anatomy of a task

Each copied task carries:

PropertyOptions / behavior
AssigneeAn explicit person, or a resolved default so nothing is ever unowned
Assigned roleHR / IT / Manager / Employee
CategoryDocuments / Equipment / Access / Training / Other
Due dateNone, on the hire date, or custom ±N days before/after the start date (timezone-aware)
Attached documentOptionally pins a document template + "requires signature"
Why every task has an owner. If a task can't be matched to an explicit assignee, a sensible default is resolved automatically — so a checklist never contains a task that nobody is responsible for.

Per-hire document copies

When a task pins a document template, creating the instance materializes a per-employee copy into the new hire's drawer:

  • Signing templates create a Document + Assignment + fields — a live signing copy addressed to the new hire.
  • Read-only templates file a reference copy in the drawer.
Why a fresh copy per hire. Each new hire gets their own copy, so a signed document never leaks to the next hire, and the signer is always the new employee — not whoever was onboarded before them.

Signature gating

Tasks that "require signature" are gated:

  • The task can't be marked complete until the employee has signed the attached document. (Administrators can override.)
  • Signing the document AUTO-COMPLETES the task and advances the instance — no separate "mark done" step.

Who can complete a task

WhoCan complete the hire's tasks?
The subject employee (the new hire)No — cannot complete their own tasks
Administrators / ExecutivesYes
The hire's department headYes
The explicit task assigneeYes
Why the new hire can't tick off their own tasks. Onboarding is a verification checklist. Letting the subject mark "laptop issued" or "policy acknowledged" complete would defeat the point — completion is confirmed by HR, their manager, or the assigned owner. (Signing a requires-signature task is the exception, since signing itself is the proof.)

The Action Required tray

The Action Required view aggregates everything waiting on a person — pending signatures + expiring documents + pending acknowledgments — and shows a sidebar badge so nothing slips through.

Notifications

Onboarding sends: onboarding-started, task-assigned, task-completed, instance-completed, plus reminders.

Roles & permissions

RoleStart an instanceComplete tasksOverride signature gate
EMPLOYEENoOnly tasks explicitly assigned to them (not their own onboarding)No
DEPARTMENT_HEADFor their departmentTheir hires' tasksNo
ADMINISTRATORYesYesYes
EXECUTIVEYesYesYes

Troubleshooting

Error / symptomCauseFix
/onboarding page just redirectsBy design — it now points to the profile Onboarding tabGo to /users/:id?tab=onboarding
New hire onboarding never startedOnboarding isn't automaticStart an instance deliberately from the Onboarding tab
Can't mark a task completeIt "requires signature" and isn't signed yetThe employee must sign the attached document first; an admin can override
New hire can't complete their own taskSubjects can't complete their own tasksHR, their dept head, or the assignee completes it (signing auto-completes signature tasks)
Document task didn't auto-completeThe attached document wasn't fully signedSigning the document advances the task automatically — confirm the signature went through