User should not be able to raise incidents via self service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2025 03:01 AM
Hi Team,
I have a requirement that users should not be able to raise incidents via self-service view.
To restrict this, we have disabled the UI Action - 'New' from the Self-Service module.
But some users are searching incident.do and the form is getting opened in self-service view like below
How do I restrict this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2025 03:06 AM
Hi @ameybhaisar,
what role this user have? I believe that creating incidents shall be "general rights" for all users...
Why would you like them to restrict this?
This reply is 100 % GlideFather and 0 % AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2025 01:56 AM
Hi @ameybhaisar any feedback?
This reply is 100 % GlideFather and 0 % AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2025 03:11 AM
Hi @ameybhaisar
You’re trying to break the core concept of Self-Service. The idea of Self-Service is that users perform actions themselves. Ideally, you should redirect the user to the portal so they can log an incident from there directly.
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
10-23-2025 03:14 AM
Hi @ameybhaisar ,
you can create onSubmit client script like this
function onSubmit() {
//Type appropriate comment here, and begin script below
if (g_form.getViewName() == 'ess') {
g_form.addErrorMessage('Self Service View ');
g_navigation.open('incident.do?sysparm_view=default');
return false;
}
}
g_navigation.open() open the form in the default view
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
