how to handle Assessments in Portal side
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi everyone. My question :
- How to achieve the below requirement without cloning and how to handle Assessments in Portal side. Is there any specific page that we can redirect directly for assessment is service portal?
Please read the context below:
In Governance Hub application (EITG Scope), we are currently using the Global Out-of-the-Box (OOTB) “Form” page to display records such as Governance Tasks, Approvals, and Inquiries and Assessments in Portal side.
The Governance Hub application displays several related item sections such as Notes, Tasks, Approvals, and Inquiries on the TGOV Request page. Recently, a new “Assessments” tab was added to show all Assessment Instances associated with a Governance Request.
This new tab is expected to behave consistently with the rest of the related items while also supporting Governance Hub’s requirement for users to take assessments from within the Service Portal.
The related items section for all components is rendered using a custom TGOV Request Related Items widget, which internally uses Out-of-the-Box (OOTB) Service Portal components to display records and forms.
Current System Behavior and Issues Observed
When a user clicks on an Assessment Instance number in the related items:
- The system opens the Assessment Instance record in the Global OOTB ‘ANT Form’ page used throughout Service Portal.
- This page loads the ANT Form widget, which is a global shared widget.
- On this page, the OOTB “Take Assessment” button (UI Action) is visible.
However, the issue arises when users try to take the assessment:
In Header Menu, the “Take Assessment” button correctly redirects to the custom Assessment page where it shows the assessments assigned to me. But, In Service Portal, clicking “Take Assessment” from the form page simply displays an “Updated” message and does not redirect anywhere.Root Cause
- The main reason the “Take Assessment” button does not redirect in the Service Portal because the URL “assesment_take2.do?... ” specified in the Take Assessment UI Action for re-direction is Platform-specific and relies on action.setRedirectURL(), which works only in the Platform UI and won’t work on the Portal side. A technical attempt was made to make the Assessment instance number open the tgov_asmt page directly.
However, this approach failed because the OOTB embedded widget list (like Data Instance Wrapper) in our custom widget script overrides custom navigation and always opens records using the OOTB Form Page. This makes it less feasible to change navigation behavior only for Assessments while keeping the widget unchanged.
- The main reason the “Take Assessment” button does not redirect in the Service Portal because the URL “assesment_take2.do?... ” specified in the Take Assessment UI Action for re-direction is Platform-specific and relies on action.setRedirectURL(), which works only in the Platform UI and won’t work on the Portal side. A technical attempt was made to make the Assessment instance number open the tgov_asmt page directly.
