How do you add a back button in a next experience from a form page.

Rob Joy
Tera Expert

Seems like I should be able to just add a button with an image and pull the pervious URL in and add it to the top of the page.

 

I did a chat gpt search and the results are below.

 

I would think this would be easier to do and I wouldn't need a ui action to go back.

Since ServiceNow uses a back button in so many pages, I think I am missing something.

 

Any suggestions for how I could add the button standard in ServiceNow to the top of all of my forms pages?

RobJoy_0-1704812393514.png

 

 

-------------------------------------------------------------------------------------------------------------------------------------

SEARCH RESULTS

-------------------------------------------------------------------------------------------------------------------------------------

To add a back button to a Next Experience page in ServiceNow UI Builder, you can create a UI action that sets the return URL to the previous page. Here are the steps:

  1. Create a UI action and set the action.setReturnURL() method to specify the page to open when the bac...1.
  2. Use the action.setRedirectURL() method to specify the page to open after the UI action executes 1.
  3. Save the UI action and test it on your Next Experience page.

If you need more information on configuring the Next Experience UI in ServiceNow, you can refer to t...2. I hope this helps!

2 REPLIES 2

Maik, 

 

This looks like it works great in platform.  I set redirect in the UI action and hit has no impact in Next Experience or Workspace.  From what I can tell, the Declarative actions do not redirect after completion.  Were you able to get this to work in Next Experience or Workspace?