Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

The Edit Investigation page provides a form for updating an existing investigation record. It is available at route /hr/employee-relations/investigations/:id/edit.

Overview

The route renders InvestigationFormPage in edit mode (because the id param is present). The existing record is fetched via useInvestigationDetail. Source fields (source_incident_id, source_grievance_id, source_disciplinary_id) are cleaned based on the source_type UI field before submission. On submit, updateMutation.mutateAsync is called.

Who it’s for

No explicit permission gate on this route. Data is scoped to the current organization.

Before you start

  • Navigate from an investigation detail page at /hr/employee-relations/investigations/:id.

Steps

1

Open the edit form

From an investigation detail page, click the edit action. You land on /hr/employee-relations/investigations/:id/edit.
2

Modify fields

Update investigation type, status, assigned to, dates, findings, conclusions, or recommendations.
3

Save changes

Submit the form. On success, you are redirected to the detail page.

Human Resources

Human Resources core overview.

Governance & parity

This page documents shipped product behavior. It is not medical, legal, or billing advice. Verify against your organization’s policies and applicable regulations before using it for clinical, compliance, or billing decisions. Protected health information (PHI) shown in the product is governed by your tenant’s access controls and is never exposed in this documentation.
  • src/routes/hr/employee-relations-routes.tsx
  • src/cores/hr/employee-relations/pages/InvestigationFormPage.tsx
  • src/cores/hr/employee-relations/hooks/useInvestigationMutation.ts