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

Sumanta Sathua
ServiceNow Employee
ServiceNow Employee

There is system properties "sn_portal_surveys.sp_survey.email_redirection"   . If you make this value as true   . The survey link will   generate which take the user to portal view .


Manjeet Singh
ServiceNow Employee
ServiceNow Employee

Hi Atul,



We are providing an out of the Box Survey widget for Service Portal in Istanbul release (which will be release by end of this year). This would also provide the flexibility of:


- Placing the widget on any Service Portal (in case of multiple portal scenarios)


- Ability to control Email link redirection - open it in Instance view or in Service Portal UI view.



If you are using legacy CMS base portal then this thread might help -



  https://community.servicenow.com/message/934169#934169


lassekoch1
Tera Contributor

This is what you need to do to direct users to the Portal from Survey link: 

/sp?id=take_survey&instance_id=${sys_id}

this is almost working for me, however it's not bringing me to the same id# as if i navigate to the survey instance manually.  example:

navigation:  xxxx.service-now.com/sp?id=take_survey&instance_id=ae5a7bbddb5ae3404d35ec51ca9619dd

sys_id:  xxxx.service-now.com/sp?id=take_survey&instance_id=ace93f3ddb5ae3404d35ec51ca9619ab

the sys_id link also returns a "Invalid URL" notification within the page