How to change the survey title to display and link to the RITM instead of the SCTASK recordSummaryThis article will describe how you can change the Take Survey widget to display the RITM, and link to it as well, when the survey is triggered by an SCTASK item. ReleaseService PortalInstructions1) Ensure you're in the Service Portal Surveys application scope and navigate System Definition > Script Includes, open the SPSurveyAPI script include2) In the script, find the line: data.trigger_display = surveyGR.getDisplayValue('trigger_id').split(': ')[1];3) Just AFTER the line above, enter the code snippet shown below4) Save the record if( surveyGR.getValue('trigger_table') == 'sc_task' ) { var taskRec = new GlideRecord('sc_task'); taskRec.get( surveyGR.getValue('trigger_id') ); data.trigger_id = taskRec.getValue('request_item'); data.trigger_table = 'sc_req_item'; data.trigger_display = taskRec.getDisplayValue('request_item');} The survey widget should now display the RITM associated with the task and will also link to that record.