Bypass Login for Surveys

ravi1_tandon
Kilo Guru

Hi,

One of my client has a requirement to bypass user login prompt for survey URL's when clicked through email link for end users(no role).

I know , I can make survey public, however in that case, I may not get the person who took the survey and it will be anonymous. Is this something that is possible in Service-Now. If anyone has implemented it in the past, please help.

Regards

Ravi Tandon

3 REPLIES 3

Daniel Draes
ServiceNow Employee
ServiceNow Employee

hmm, if you bypass login for a survey you have no logged in session and therefor you don't know who answers your questions. This is kind of a unsolvable task, isn't it?

Do you have SSO active? If so why worry?
If not, think about a free-text field where the participant needs to enter his name? You could validate that against the userbase if required.


ravi1_tandon
Kilo Guru

yeah I was thinking of using Public survey and then present the survey to user and request for the email address and validate it against the email address, however when I am nit sure which object to use on survey form g_form or current to check for user name and the ticket number.


Daniel Draes
ServiceNow Employee
ServiceNow Employee

I would use a onBefore Scrip on the survey_instance / response table to verify the emailaddress. Two things to consider though:
a) Check how an error is presented to the user, the record should not be saved than (I assume)
b) Verify settings for public survey to make sure multiple answer do not overwrite previous ones. If this is a use-case.