Record Producer User Criteria not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi All,
I'm not sure what's wrong with this user criteria , please help me
use case : get True or false
My humble request kindly help me on this , I tried with different ways too
String(user_id) or user_id or gs.getUserID()
script :
script Include :
why info messages not coming, if this comes I have to design my major functionality
with combinaiton of System Property and User Role Check
if (system property==true)
{
if(check user role is at least one ){
answer=true;
else
answer=false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
41m ago
Hi @Supriya25 ,
1. If you are trying with admin. Admin users bypass the users criterias
2. impersonate a user and test you will get the message 1 time
3. if you trying to reimpersonate the same user ->User criteria are cached for the users
run the below line of code in the background script to clear the cache and try
gs.cacheFlush()
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
28m ago
Hi @Supriya25
Ensure you are not testing using Admin id.
Impersonate by requested user profile and test.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
