Employee Offboarding Schema
Velden
Employee Offboarding Schema
Process record for offboarding an employee (configurable form + workflow state)
stage
Workflow stage. DRAFT = just submitted/not yet processed; HR = waiting on HR to complete person master data (employee_profile incomplete); SECOND_LEVEL = HR done (or skipped), deactivation/return tasks active; DONE = offboarding complete; CANCELLED = aborted. Server-managed by the offboarding orchestration — never client-written via generic PATCH.
DRAFTHRSECOND_LEVELDONECANCELLEDemployeeProfileId
employee_profiles UUID of the exiting employee (set at submit).
ticketId
tickets UUID of the generated offboarding ticket.
submittedById
Internal users UUID of the team lead who submitted the form.
orgUnitId
Org unit / department (Abteilung) of the exiting employee.
displayName
Full name of the exiting employee, for list display.
email
Work email of the exiting employee.
exitDate
Last day of employment (Austrittsdatum).
requestedSystems
Keys of the systems/accounts to deactivate as selected in the form (Confluence, Baramundi, …). Quick-access copy; the canonical source is formData.
formData
Raw submitted values keyed by the configurable form field ids (tenant.settings.offboarding.formDefinition).
missingEmployeeFields
Snapshot of the employee_profile fields that were missing at submit time and routed the ticket to HR (drives the HR person-data tasks).
configVersion
Version of tenant.settings.offboarding (boarding_config_versions, ADR 0992) this record was submitted with; the worker builds the tasks from exactly this version. Null for records submitted before versioning or while the tenant runs on the default config (the live config applies then). Server-managed.
notes
Free-text remarks (Besonderheiten).
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/employee_offboardings— Lijst, gepagineerd + filterbaarGET /api/v1/employee_offboardings/<id>— Enkele entityPOST /api/v1/employee_offboardings— AanmakenPATCH /api/v1/employee_offboardings/<id>— Gedeeltelijke updateDELETE /api/v1/employee_offboardings/<id>— Soft-deleteGET /api/v1/employee_offboardings/<id>/timeline— Audit + activiteiten