We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to abort the action for resolving an incident for a particular user and for a particular role

JakkamsettiP
Tera Contributor

Need to implement business rule to abort the action for not resolving an incident for a particular user and user is not having admin role.

 

Please suggest me how to implement.

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron

@JakkamsettiP Please create a business rule as follows.

 

Screenshot 2024-08-01 at 2.43.22 PM.png

In the service field, select the service for which you want to prevent users from changing its state to resolved.

 

Screenshot 2024-08-01 at 2.43.48 PM.png

Hope this helps.

View solution in original post

11 REPLIES 11

Okay, then better put ACL for this also in your previous reply you said it should be done by user.

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG 

 

Is it not possible through BR?

If possible, please provide me the script how to abort and it should pop message to user that you cannot resolve.

Hi @JakkamsettiP 

 

Yes, possible with BR, but sorry to say I am not a coder so can't help you with script. 

 

@Sandeep Rajput  @Anurag Tripathi any inputs here.

*************************************************************************************************************
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]

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

Mark Manders
Giga Patron

Can you explain your use case? Your question says 'how to abort action for resolving' and you description reads 'to abort action for not resolving'.

 

Which action is taken by who and what does it need to do when?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

If incident is created by a particular 'X' service and that incident should not be resolved/closed/cancelled by any other user and it should be resolved only by that 'X' service and can also by admin role.

 

It should abort for the other users.