
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2020 06:16 PM
Hi Everyone,
Is there a way to clear cache for a specific user.
Reason is, we have updated the users group and should be available to a specific user criteria.
But i think it is still not working. I don't wanna use cache.do since it may cause performance issue.
Thanks,
Tadz
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2020 06:32 PM
Sounds like you figured it out.
If it's for Service Catalog you can use the User Criteria Debugger tool to see where it is failing:
The user criteria cache does have key based entries for specific users, but, AFAIK the API is not public to directly access the cache. The user criteria cache entries relating to that user should be getting updated automatically if there was a change to group membership. I think scripted user criteria aren't cached in the first place, so if it is scripted that shouldn't be the problem. Unless for some reason you have set glide.user_criteria.cache.scripted to a non-out-of-box value. That should never be done unless every single one of your scripted user criteria are totally immutable for every user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2021 12:51 AM
Please refer to the deep dive blog on user criteria.