Survey email notification error: page not found

CarolMa6
Tera Expert

Hi All, 

 

I need help here, i have an existing survey that comes in a separate email once an incident is resolved. Now i want to add the same survey link to the "resolved" email notification. What am i missing 

 

When i click on the link error: page not found 

CarolMa6_0-1747215068330.png

Email script

CarolMa6_2-1747215254188.pngCarolMa6_3-1747215288337.png

 

Notification: 

CarolMa6_4-1747215399758.png

Updated the url but it defaults to the OOB url 

CarolMa6_5-1747215500234.png

 

Regards 

CarolMa

 

17 REPLIES 17

Ankur Bawiskar
Tera Patron
Tera Patron

@CarolMa6 

if you are sending separate survey email then why to send the Survey link in resolved one?

are you planning to remove the survey email?

I will suggest to keep both as separate and don't mix them up.

1 workaround is mentioned in below link

Adding survey URL to incident resolution email notification 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

 The plan is to keep both. 

The workaround is not clear for me. Do i only configure the email script?

or another option hard code the url in the email notification body?

 

Regards 

CarolMa

@CarolMa6 

for your incident resolution email to have survey link, the assessment record needs to be there.

If that record is not generated even if you include email script you won't know the survey link

So it's not possible to keep both the emails.

So the workaround says

1) 1st approach let the incident resolution email content be added to the survey email sent

OR

2) my approach disable the survey, in email script of your incident resolution create the survey for this INC using script and then you get to know the assessment instance record and then you can include link for it

    (new SNC.AssessmentCreation()).createAssessments('d902e09a075730101263f19d7c1ed03a', // Assessment metric type sys_id
      current.sys_id, // Assessable record which is the source of the assessment
      curent.caller_id); // Users ID to send the assessment instances to
  }

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@CarolMa6 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@CarolMa6 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader