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

How to generate survey instance id for service portal while user clicks on survey URL?

Kalesh A1
Tera Contributor

We have created a survey using survey designer in ServiceNow which should be be opened by any user in the platform (no trigger also). Also added a portal header menu link which is pointed to the particular survey, but the issue is -

we have the survey URL which looks like https://instance_name.service-now.com/nav_to.do?uri=assessment_take2.do%3Fsysparm_assessable_type=so...

while clicking on this URL the survey is opening in the platform view. I need to open this survey in service portal using the URL https://instance_name.service-now.com/portal?id=take_survey&instance_id=auto_generate_this_number.

 

can we auto generate instance id when any user clicks on this link?

0 REPLIES 0