Non-itil users are not redirecting to esc portal - UI Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 06:02 AM
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.
UI Script
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 06:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 07:44 AM
Hi @Samaksh Wani - Thank you for the reply.
I changed it but still it is showing the servicenow banner.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 08:34 AM
Something similar:
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 12:24 AM
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,