Non-itil users are not redirecting to esc portal - UI Script

Sandeep Kumar5
Tera Contributor

 

Hi,

 

An end user who does not have any ITIL or fulfiller roles, can able to access only Employee Portal(esc). But whenever he clicks on a direct link of create new incident 

(https://dev195872.service-now.com/now/nav/ui/classic/params/target/incident.do%3Fsys_id%3D-1%26syspa...), it is not redirecting him to esc portal instead navigating to Native UI i.e., self service view of incident.

 

In order to fulfill this I created a UI script by refering ( https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0994806 ), this is working as intended but the Native UI banner is still showing as attached screenshot.

SandeepKumar5_0-1700834415664.png

 

 

UI Script

SandeepKumar5_1-1700834415677.png

 

And the path is also looks different, it should be (https://dev195872.service-now.com/esc) instead it is showing (https://dev195872.service-now.com/now/nav/ui/classic/params/target/esc)

 

Please help me on how to redirect the end user directly to the esc portal.

 

Thanks,

Sandeep

4 REPLIES 4

Samaksh Wani
Giga Sage
Giga Sage

Hello @Sandeep Kumar5 

 

Change your line 5 with mine :-

 

window.location('https://dev195872.service-now.com/esc');

 

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh

Hi @Samaksh Wani - Thank you for the reply.

 

I changed it but still it is showing the servicenow banner. 

 

Thanks,

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sandeep Kumar5 

 

Something similar:

 

https://www.servicenow.com/community/now-platform-forum/redirect-non-itil-users-to-esc-portal-instea...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG  - Thank you for the reply.

 

I seen that community post but I didn't find any solution for my issue.

 

Thanks,