The CreatorCon Call for Content is officially open! Get started here.

Public Survey url through the service portal

kcf
Tera Expert

We've created a public access survey.  Our requirement is to have all users take this survey through the service portal and not the backend.

What is the URL for accessing the survey in the service portal?  We don't want to "Assign" or "Send Notification" of the survey to our users.

We want to be able to send a generic link to the survey through the service portal.

I only see a Survey URL to the backend like this:

https://instance.service-now.com/assessment_take2.do?sysparm_assessable_type= XXXXXXXXXXX

1 ACCEPTED SOLUTION

kcf
Tera Expert

Ah i think i found it!

https://instancename.service-now.com/sp?id=take_survey&type_id=XXXXXXX

 

instead of the instance_id you can specify the type_id.

View solution in original post

13 REPLIES 13

Allen Andreas
Administrator
Administrator

Hello,

There is no generic link to the survey as each survey is accessible through it's unique sys_id URL. The link though to the portal survey would look like:

https://instancename.service-now.com/sp?id=take_survey&instance_id=XXXXXXX

Please mark reply as Helpful/Correct. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

For the record, you do not need that property checked per the post below. That property is to auto direct users who click the link from a survey email to be directed to the portal instead.

If that property is checked, for example...and you used the assessment url like in your original post...they still go to the back-end UI survey...which is why I gave you the link to the portal specifically so you can just use that.

If you have the link like what I've given you above, just replace XXXXX with your survey instance id, it will work with or without the property being checked to be directed to the portal.

Thanks!

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Allen, thanks for the reply.

the reason this will not work for us is, we did not on creating an instance of the survey for every single user who has to take it.

I understand that using this URL:

https://instance.service-now.com/assessment_take2.do?sysparm_assessable_type= XXXXXXXXXXX

will create a survey instance automatically.

If we had about 8000 users that need to take the survey, would we have to create 8000 instances of the survey in advance and send this unique URL to all 8000?

https://instancename.service-now.com/sp?id=take_survey&instance_id=XXXXXXX

my understanding is instance_id is unique for each user who fills out survey.

 

kcf
Tera Expert

Ah i think i found it!

https://instancename.service-now.com/sp?id=take_survey&type_id=XXXXXXX

 

instead of the instance_id you can specify the type_id.