ESS role is not showing

rahul16
Giga Guru

Can anyone help me how to get an ESS role in ServiceNow?

I want to create ACL for some tables like sys_user,cmdb_ci I created Read ACL with a public role but my manager suggested that use the ESS role.

find_real_file.png

I checked for ESS in this table sys_user_role but did not found it.

find_real_file.png

1 ACCEPTED SOLUTION

Click on Advanced checkbox below active field, then you would see script below.

Then you would need to set answer variable as true and false

if(gs.getSession().isInteractive() && gs.getSession().isLoggedIn())
   answer = true;
else
   answer = false;
Best Regards
Aman Kumar

View solution in original post

8 REPLIES 8

What you want to try is :

isInteractive() and isLoggedIn() functions which you can write up in your ACL script

Visit below link to understand better about those functions:

r_GlideSessionIsLoggedIn

 

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

I don't understand i created ACL like this not used any script

find_real_file.png

 

Click on Advanced checkbox below active field, then you would see script below.

Then you would need to set answer variable as true and false

if(gs.getSession().isInteractive() && gs.getSession().isLoggedIn())
   answer = true;
else
   answer = false;
Best Regards
Aman Kumar

Hey, is your query resolved?

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions!

Best Regards
Aman Kumar