how to clear user criteria cache without logging out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2020 06:25 AM
how to clear user criteria cache without logging out .I have tried to clear user criteria by gs.cacheflush('criteria_cache')but no luck.
Issue:we have user criteria built on location ,if user change location then he need to logout and login again but i am trying to achive it without logout .Anyone tried it ??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2020 06:29 AM
Hi Manish,
That is an expected behavior as it requires new session to be established.
In case you will you can clear cache of instance by using cache.do in the application navigator & then pressing Enter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2021 06:54 AM
In Quebec you can disable the caching of scripted user criteria with a property called glide.cache.disabled.scripted_user_criteria_cache = true. https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0962006