Redirection from backend platform to Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2019 06:33 AM
I need to redirect users from the back end platform to portal on click of a button. In the sysapproval table, once the user clicks "approve" or "reject", he is taken to the list view of all approvals. Instead of that, the user should be taken to Employee Service Center , or the Service Portal.
I modified the UI action for the button by adding
a)url= 'devabcd.service-now.com/esc'
setRedirectURL (url)
b) url ='?/esc &id= esc_dashboard'
setRedirectURL(url)
c) Added a business rule after approve and reject
gs.setRedirectURL('url')
The closest I could get was, open the ESC inside the backend platform. Attached screenshot
. How to avoid this or how to correctly open the portal once users click approve or reject button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2019 03:22 PM
Can you make the UI Action a client side action? And then for the on-click I have it call the below function and it opens the ESC without the navigation window.
function openEsc() {
g_navigation.open('/esc', 'ESC');
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2019 09:53 PM
check if you use below code
url = "./esc";
setRedirectURL (url);
Thanks
Manasa

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2019 01:41 AM
I think it should be action.setRedirectURL(url)