How does HR Criteria handle more than one condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 06:59 AM
Under HR Criteria you are able to add more than one new condition. I have made this change, but it does not seem to be accounting for the new condition. Do these act as "OR" or are they "AND". We added two as they are off of different tables.
- Labels:
-
Case and Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 10:48 AM
Hi Amy,
Each HR Criteria is evaluated separately. To meet your use case you would have to combine the conditions in one User Criteria so that it can be an AND. The Criteria being separate will not require both roles to be able to see it, only if the user is a match to any role that has access.
Regards,
Mike

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 11:03 AM
The script in the User Criteria contains a sys_id back to the HR Criteria. So the script is just pointing to the HR Criteria, that's all. The evaluation is being done by the HR Criteria.
While I realize why you want to update an existing criteria, I don't think you can based on your criteria. You could create another user criteria and use a fix script to query all the records that contain the existing criteria and add to it. You would end up with 2 user criteria's then and as Michael indicated you need to satisfy one of them to get access.