HR Criteria in activity set do not work for cases having similar user and HR serviceDescriptionHR Criteria in activity set do not work for cases having similar user and HR service.Steps to Reproduce 1. In the HR service Request Onboarding, go to the LifeCycle Event Type "New Hire Onboarding". 2. Open one of the activity set, for example 'Pre-Hire'. 3. Open one of the Activities and create an HR Criteria: HR Criteria Table: sn_hr_le_case Condition: Priority = 4-Low 4. Create an HR case for a user with HR service = Request Onboarding and Priority is 4-Low (so it should pass and create the activity in step 3). 5. Create an HR case for a user with HR service = Request Onboarding and Priority is 3-Medium. The second HR case passes the HR condition and creates the HR activity. WorkaroundThis is expected behaviour. HR Criteria are generic by design and will pick up any record that matches the condition. In the use case above, the condition 'subject person == X and office or school == school' is run against LE case table and since there is already one record matching the query, HR criteria is evaluated as true, even if other LE case has office or school set to 'office'.Only adding Active or other conditions that make the criteria unique could help narrowing down. The general guideline is not to have HR Criteria based on HR Case, as it can cause unexpected results.Related Problem: PRB1369963