How does HR Criteria handle more than one condition

amyschlosser
Giga Contributor

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.

6 REPLIES 6

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

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.