Embed an assessment in a record page
Embedded assessments lets an upstream application surface the Smart Assessment Engine responder experience inside its own UI rather than as a separate page. This task describes the configuration that must be done on the SAE and UI Builder page where the assessment is embedded
Before you begin
To restrict access to the embedded assessment based on the parent record's audience, enable the Inherit read access for embedded assessment field on the template category. Then set the Embedded assessment parent table to the table whose records act as the parent. For field details and guidance on choosing the parent table, see Create an assessment template category.
Role required: sn_smart_asmt.template_manager. To configure the template category, which is a prerequisite for this task, the sn_smart_asmt.assessment_admin role is also required.
Procedure
What to do next
If the embedded view hides assessment-level actions, the upstream application must provide equivalent controls on the host page.
- Submit
- Use the Change Assessment State Flow Designer action to transition the assessment to the Submitted state. The action performs the minimum required validations — state eligibility and required questions answered — before transitioning. Implement any additional business-specific validations in the upstream application before invoking the action.
- Cancel
- Use the same Change Assessment State action to transition the assessment to the Cancelled state. Implement custom pre-cancellation validations in the upstream application before calling the action.
- Reassign
- Build a Reassign UI in the upstream application. The custom UI must use the Reassign Filter extension point that the built-in Reassign dialog consumes, so that the same allowed-user list is applied. After the user confirms the reassignment, call the corresponding flow action or public API to apply the change.
If the embedded view also hides the right reference pane, the upstream application must build its own contributor management UI. Call the Smart Assessment responder public API to persist contributor changes.