Adding a "Next" Button in ServiceNow Survey Designer for Seamless Navigation

sushma vunnam
Tera Contributor

In ServiceNow Survey Designer, after publishing a survey, is it possible to add a "Next" button within the designer itself? The goal is to allow users to seamlessly navigate to the next approval form, which is created as a catalog form.

Has anyone implemented a similar functionality or found a workaround for this? Any insights would be appreciated!

2 REPLIES 2

KKM
Tera Guru

Hi Sushma,

In ServiceNow's Survey Designer, there is no built-in "Next" button feature that allows users to seamlessly navigate to another form (such as a catalog form) after completing the survey. However, there are workarounds you can implement:

Workaround 1: Redirect Using "Thank You" Page Script
You can use a client script in the survey to redirect users to the catalog form upon completion.

Steps:
Go to Survey Designer (sys_survey).
Open the published survey and navigate to the "Thank You" Page section.
Add a Client Script to redirect users to the catalog item form:

function onSurveyComplete() {
window.location.href = '/sp?id=sc_cat_item&sys_id=<CATALOG_ITEM_SYS_ID>';
}
Replace <CATALOG_ITEM_SYS_ID> with the actual sys_id of your catalog item.
This method ensures users are taken directly to the next form upon survey completion.

Workaround 2: Add a "Next" Button Using a UI Page
If you want a "Next" button within the survey itself:

Create a UI Page (sys_ui_page) with a button that redirects to the catalog form.
Embed this UI Page as a Survey Introduction or Thank You page.
The UI Page code:

<g:content>
<button onclick="window.location.href='/sp?id=sc_cat_item&sys_id=<CATALOG_ITEM_SYS_ID>'">
Next
</button>
</g:content>
Use Survey Designer to include this page at the start or end of the survey.
Workaround 3: Add a Navigation Link in the Survey Questions
You can add a Single Line Text type question.
Provide a pre-filled link to the catalog item:

Click [here](https://your-instance.service-now.com/sp?id=sc_cat_item&sys_id=<CATALOG_ITEM_SYS_ID>) to proceed to the next form.
This method isn't a button but offers seamless navigation.

Best Approach:-
If you need full automation, Workaround 1 (redirect after submission) is the cleanest solution.
For more control over user navigation, Workaround 2 (UI Page button) is ideal.

This should solve your issue!

Kindly mark it as "Accepted Solution"/"helpful", as it resolves your query. Please press like button for the resolution provided.

With Regards,
Krishna Kumar M - Talk with AIT3ch
LinkedIn: https://www.linkedin.com/in/mkrishnak4/
YouTube: https://www.youtube.com/@KrishAIT3CH
Topmate: https://topmate.io/mkrishnak4 [ Connect for 1-1 Session]

Thank you for your response. However, our request is not related to the "Next" button that appears after a user completes the survey.

We are requesting the following enhancements in the Survey Designer tool:

1️⃣ "Next" Button After Publishing

  • Currently, after designing a survey, the final step is clicking "Publish."
  • We would like to introduce a "Next" button immediately after publishing over the designer tool so that it redirects users to our catalog form, allowing them to proceed with the next step in the process.

2️⃣ Open Survey Designer in the Same Tab

  • While creating a survey, we currently have a "Proceed" button that opens the Survey Designer tool in a new tab.
  • This forces users to design the survey in the new tab and then return to the previous tab to continue.
  • We would like to explore an option where the Survey Designer tool opens in the same tab instead, with a "Next" button available to navigate directly to our actual form.

Could you please help us explore the feasibility of these enhancements? Let us know if you need any further details.