Communicate Assessable record change in Assessment/Survey to a custom widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 03:11 AM
Hi
I have a requirement to create assessments for Business Applications which should be triggered to application owners. The assessments contain metrics which have corresponding fields on the business application table. We want to show the field values to these owners when they are taking the assessment. For eg, If a user is application owner for 3 business applications(assessable records), a single assessment will be triggered to the owner. In OOTB survey/assessment, on click of next button, the assessable record name appears and the metrics are shown to users for answering.
When user starts survey, for first assessable record I want to show the corresponding field values for each metric in a custom widget on the same page. On click of next button, for second business app I want to show field values for that particular business application.
Basically, users should be able to see the existing field values of the business applications when they are taking an assessment for those records.
I am able retrieve field values for a single record assessment and show it up on the page. But for multiple record assessment, on change of the assessable record in take_survey widget, I need know that in custom widget and retrieve correct field values accordingly.
Can I broadcast this change of assessable record in take_survey widget to my custom widget? If yes,, how can I do that?