Unable to Delete HR Criteria Record

Danielle13
Tera Contributor

Hello, 

I have a request to Delete two HR Criteria records that were never used in the system.  They've been set to inactive for quite a few years and since they haven't been used, we'd like to remove them for clean-up purposes.  Anytime I try to delete the records I receive the message "Cannot delete an HR Criteria record with a related user criteria".  But the HR Criteria record isn't using a related user criteria.  That field is empty.  Is there something I'm missing or somewhere else I should check?  Any suggestions or information on how to resolve would be greatly appreciated.  Thanks in advance!!!

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

Hi @Danielle13  OOTB business rule "Alert when deleting a HR criteria" will prevent you to delete the record, because " related user criteria"  field contains value . 

To make sure can you do show xml and see the field value ? might be possible ghost record exist on that column. 

Also to double check you can make that field editable, by disabling the UI Policy  "Set Related User Criteria Read-only" . then remove the value from " related user criteria" field. 

 

Thanks,

Harsh

View solution in original post

1 REPLY 1

Harsh Vardhan
Giga Patron

Hi @Danielle13  OOTB business rule "Alert when deleting a HR criteria" will prevent you to delete the record, because " related user criteria"  field contains value . 

To make sure can you do show xml and see the field value ? might be possible ghost record exist on that column. 

Also to double check you can make that field editable, by disabling the UI Policy  "Set Related User Criteria Read-only" . then remove the value from " related user criteria" field. 

 

Thanks,

Harsh