- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 03:16 AM
Hi all,
We have begun testing our surveys and have run into a snag. The snag being that when a user clicks the survey url within the email, it does not route to that specific ticket survey. It is going to a survey but not the one pertinent to their ticket. Our config is as follows:
Ticket is resolved, email notification is sent. Within the email notification we have a mail script containing the url to the survey, obtained from the 'View survey URL' related list.
Does anyone know where the issue lies? Thanks!
Solved! Go to Solution.
- Labels:
-
ITSM
-
ITSM: General
-
Notifications
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 04:45 AM - edited 02-06-2024 04:46 AM
Hi @GMoon in that case create a new email script with below code and call this script in your notification. I assume your notification is on assessment_instance table.
Script:
//esc = portal URL
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 05:23 PM
Hi @GMoon surveys are trigerred from assessment table, if you place your survey on incident or req item table, it will give invalid url because surveys might not be created yet
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 04:08 AM
You need write mail like below with using of script include name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 07:22 AM
What do you mean by "with using of script include name." ?