ERROR: HR Service is in valid for subject person.

Sanjay33
Tera Contributor

Hi Everyone,

While I am raise a new HR case from portal, I am getting an error message like "HR Service is in valid for subject person", I referred few of the questions here but I couldn't find the exact solution for this, Please suggest on the same.

Thanks,

Sanjay

9 REPLIES 9

Hi,

If I am able to solve your query, please mark my answer correct and helpful and close this thread so that others get benefit from this.

 

Thanks & Regards

Prasant Kumar Sahu

blanca12
Mega Contributor

Hi any solutions yet ?

 

 

snaptube vidmate word to pdf

Hi, I got solution for this, we need to remove HR criteria in HR service and check. Thanks, Sanjay

Hi Blanca!

I just posted the resolution for me in the thread and after I posted it, ran into the same issue again today. Take a read through my post. Seems to always point toward the HR Criteria and another trend is the BR not liking the "is not" conditions.  

bs1000
Tera Expert

Cause: HR Criteria attached to an HR Service triggered in a lifecycle.

I ran into this issue and the cause was from the HR Criteria on the HR Service Triggering in a lifecycle event. The HR Criteria did not account for a blank value, so we had to create an Or condition to account for the blank value.

For example, HR Condition was looking for APAC as region and Legal Entity of 123 and 321. When records were created, the legal entity did not have a value (blank), so when the BR “Avoid  insert/update if invalid hr crit” would trigger to validate the criteria, it would error out because the HR Criteria failed on the blank value. We added an Or condition to the end of the criteria stating region is APAC and legal entity is blank.

Note: The business rule “Avoid  insert/update if invalid hr crit” is where the “HR Service is not valid for the subject person” comes from.