Survey Module: How to auto populate the survey first response based on emoji selection in the email

Suresh1
Tera Guru

Hi Team,

I would like to know if the below requirement is feasible or not. I raised a Hi-Ticket but SNOW confirmed its not feasible. Let me know if anyone has done below kind of requirement:

Upon resolving the incident am sending an email to end user saying the incident is resolved and few survey emojis are embedded in the email. 

find_real_file.png

 

These survey emoji is an image with a hyperlink to ServiceNow survey page. Here if the user selects one of the emoji, I wanted to auto populate the same emoji in the ServiceNow survey page as below. Lets say user selects the very good icon i wanted to auto populate the same icon in ServiceNow survey page as well.

find_real_file.png

 

 

Let me know if this is feasible, If yes let me know how we can achieve this.

 

Thanks,

Suresh

5 REPLIES 5

TrevorK
Kilo Sage

The easiest solution we found was to have the link, in the email, contain a parameter. It then calls a custom UI Page (cloned from the Out-Of-Box) that is modified to read the parameter and populate the value on the page. Downside is obvious - you are not going to receive any updates to this page from ServiceNow because it's owned by you now.

One way we have not explored (we did this pre-Service Portal) was having it load in a Service Portal page and attempting to have that page have a widget on it to try and populate the value from a parameter. Our way works fine for us so we have never looked to upgrade it.

 

I suspect this is why SN support was unable to help - there is no Out-Of-Box way to do this and the way you have to do this involves customizing their page or cloning it and then customizing it.

rahulrockkk
Tera Contributor

Hi Suresh,

 

  Did u get a solution for this requirement? We are also having the same requirement. Please let us know whether it is feasible or not.

Hi Rahul,

 

its feasible. Basically you need to embed the parameter in the html of the email notification. From here you need to pass the parameter to assessment_v2 i.e survey page and then can auto populate the default survey selection.

 

We haven't implemented the solution for the users but i tried it and its feasible.

 

Thanks,
Suresh

Akhil30
Tera Contributor

Can you provide the code for it?

 

I can see the URL is been overridden by the AssessmentUtils script include