User should not be able to raise incidents via self service

ameybhaisar
Tera Contributor

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 

ameybhaisar_0-1761213639382.png

How do I restrict this ?

 

5 REPLIES 5

GlideFather
Tera Patron

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?

 

_____
No AI was used in the writing of this post. Pure #GlideFather only

Hi @ameybhaisar any feedback?

_____
No AI was used in the writing of this post. Pure #GlideFather only

Dr Atul G- LNG
Tera Patron
Tera Patron

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/dratulgrover [ Connect for 1-1 Session]

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

Chaitanya ILCR
Mega Patron

Hi @ameybhaisar ,

you can create onSubmit client script like this

ChaitanyaILCR_0-1761214398786.png

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