How to generate survey instance id for service portal while user clicks on survey URL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 04:57 AM
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?