Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

To Show Error Msg on incident list view

Krutika Valanj2
Tera Contributor

Hi,

I am having a link on my service portal redirecting to incidents in native UI, I have to show an error message on the incident list view when user with no roles is getting redirected to the incident list view.

8 REPLIES 8

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Krutika Valanj2 

Even if a user has no role, they can still access the list view. This is expected behavior.

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

I know its expected behaviour, I want to make the user aware that he will only be seeing incidents created by him for which I need some error or info msg on the list view

 

Hi @Krutika Valanj2 

That is again expected behavior (OOTB). If a user has no role, they are considered an end user. As an end user, they cannot see anyone else’s tickets. I recommend impersonating an end user to verify this

*************************************************************************************************************
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 @Krutika Valanj2 

 

Seems you missed out my reply.

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

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