Multiple user criteria for Can read acts as OR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 10:51 AM
Hi All,
I have a requirement to restrict kb articles base don several conditions.
For example, based on language and another custom attribute available on core_company table. so, I have created two different user criteria. One for Language (say French User Criteria) and another for category (say Accounting Category User Criteria).
Issue I am facing is that, when I add these two user criteria as "Can Read" on knowledge article (yes, on knowledge article. I have requirement to filter kb articles within the knowledge base too), both the criteria acting as OR condition. So, if the logged in user satisfies even one of them, they are able to view the article.
But, my requirement is to stop them from reading. Both should act as AND condition.
I know we can combine both the user criteria to one, but that is not feasible option. Combining will add loads of user criteria (For each category, matching languages (say 22 as supported by ServiceNow) and there are 20+ categories. so, not going to work for me.
So, any guidance you provide will be of great help!
Thanks and regards
Krishna