We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to redirect survey link to the portal survey section.

Atul Kumar2
Giga Guru

Hi Team,

I need to redirect user to fill their survey on the portal so how to do this ?

eg.

https://xyz?uri=assessment_take2.do%3Fsysparm_assessable_type=6f2e2a7a37d55e0099f16ec2b3990eee%26sys...

Generally it redirect user to the survey form now survey is available on the portal so how i can do this ?

Do i need to add or remove somthing from this link above to make it available on the portal.

Help/suggestion required.

Regards,

Atul Kumar

8 REPLIES 8

Atul Kumar2
Giga Guru

any idea ?


I am also interested in how to change the redirect on the new surveys.



When the survey is completed, we want the user to be redirected back to our cms portal ( /service )



when the survey is "not authorized" for whatever reason (already taken, wrong user id, ect ), redirect back to our cms ( /service )



Anyone know how this is accomplished?


answered my own question:


field: Return URL



this field was not displayed on the survey form by default...had to update the form config to display it and then set the field to "/service/home.do"


Kevin did this work for you?  I have had to modify assessmentUtils script include to put conditional logic in place to reroute to the proper url for surveys since I had IT surveys that the client wanted to open in /sp and HR Surveys that had to open in /esc, please tell me adding that field and setting the portal suffix there was the solution all along?  This is not documented anywhere but is a use case on every engagement I have been on...