Is there an easy way to set the URL for a survey?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2018 12:36 PM
I created a new survey for Work Orders (we are using CSM with Field Services).
The survey link likes to default into the typical SN framed site. I need to direct it back to the CSM portal but not sure where this is configured. Looking at the email notification we have
<mail_script>
var html = new AssessmentUtils().getInstanceLinkHTML(current);
template.print(html);
</mail_script>
So I looked into the script include and it's still not obvious how this would be set up for my survey. There must be a non-scripting way to accomplish this, right? A form field somewhere on the survey or trigger conditions that specifies which URL to use?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2018 12:56 PM
Have you looked this system property:
sn_portal_surveys.sp_survey.email_redirection
https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/survey-administration/reference/r_EditingAssessmentAndSurveyProps_1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 05:15 AM
Yes but that property appears to be an all-or-nothing setting where it would affect all surveys and direct to the Service Portal, not the Customer Service Portal.
I am hoping there is a way to configure it on a survey-by-survey basis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2019 09:27 AM
Under the Survey menu, choose Survey Properties. Change this options to YES.
Enable the enhanced task survey capabilities. Survey distribution is controlled by Survey Conditions.
This will change the URL to display in selfservice portal.