The Take Survey page allows an employee to complete an assigned engagement survey using an embedded form, with support for partial completion and resuming an in-progress response. It is served at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/hr/engagement/surveys/:id/respond.
Overview
The page resolves the current user’s employee record to obtainemployeeId, then checks eligibility via useCanStartSurvey. Survey content renders via FormEmbed. Response state (create/submit) is managed by useSurveyResponseMutation. On successful submission, a completion state is shown. Ineligible users or loading errors display appropriate messages.
This page is part of the HR-17 Employee Engagement feature.
Who it’s for
No explicit permission gate on this route. Eligibility is enforced by theuseCanStartSurvey hook.
Before you start
- The survey must be in
activestatus. - The current user must have an associated employee record in the organization.
Steps
- Navigate to the survey respond link (e.g., from an email notification or the My Surveys page) or go directly to
/hr/engagement/surveys/:id/respond. - If eligibility is confirmed, the survey form renders.
- Complete the questions. Partial responses may be saved automatically.
- Click Submit to finalize the response.
- A confirmation screen is shown on successful submission.
Key concepts
| Term | Meaning |
|---|---|
| Eligibility | Determined by useCanStartSurvey; ineligible users see a blocking message. |
| FormEmbed | Platform form rendering component that handles question display and input capture. |
| Partial save | In-progress response persisted server-side; can be resumed. SME: confirm persistence behavior. |
Related
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.
Documentation sources
Documentation sources
- src/routes/hr/engagement-routes.tsx
- src/cores/hr/engagement/pages/SurveyResponsePage.tsx
- src/cores/hr/engagement/hooks/useSurveyResponseMutation.ts
- src/cores/hr/engagement/hooks/useMyActiveSurveys.ts