Users Unable to View Surveys in "My Surveys" Widget After San Diego Upgrade

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2022 10:26 AM
Hi there,
We are in the process of upgrading to San Diego and since upgrading our instance, surveys that are assigned to users from HR Lifecycle events are no longer being displayed to users in the "My Surveys" widget location on the my_surveys page in the Service Portal.
The survey still shows in the To-do widget without and issues, so I am pretty confident there are no ACLs blocking this.
I have checked permissions and have been combing through debug and system logs with no trace of what could be causing this. Has anyone else ran into this issue or have any advice on where to look to try and resolve this?
I appreciate it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 04:12 AM
Hi Jay,
I also faced the same issue, we recently moved to SanDiego.
We used public surveys on our portal. we passed the parameters through URL so that we know for which case the users are taking survey without logging in.
That functionality is totally broken in SanDiego. I created a HI request and Servicenow agent confirmed there is some error in SanDiego version.
For workaround, I reverted the surveys to be taken on assessment.do page instead of portal.
sn_portal_surveys.sp_survey.email_redirection to false.
For complete solution we need to check with Servicenow only.
Regards
Avinash Devadass

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 06:50 AM
Hi Avinash,
Thank you for your response. I also have an open ticket with ServiceNow who acknowledge the issue but have not provided any fix or workaround yet. Our surveys are not public, so this did not work for me, unfortunately.
Everything seems to work fine for me aside from the surveys being available in the "My Surveys" widget for users. They still show in the To-do widget, so it seems like the issue for me might be with the widget itself, possibly.
Cheers,
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 01:12 PM
Did you ever find an answer for this problem? We are encountering it as well upgrading to San Diego.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:21 PM
Hi there,
For this, I ended up commenting out the line that checks if there are no survey instances in the SPServeyAPI script. The update prevented the survey from being available in more than one location.
From lines 59 - 71, this is what my update looks like.
while (gr.next()) {
var filterSurveyInstance = filterSurveys && new global.AssessmentUtils().filterSurvey(gr);
// if (!filterSurveyInstance) {
no_of_surveys++;
if (count < data.maxRecords) {
var instance = this.getAssessmentInstance(gr);
if (instance.state == 'complete' && instance.allow_retake == 'false')
continue;
data.instances.push(instance);
count++;
}
// }
}