Automation of hrm_credential.end_date based on deployment setting

This checks whether the end_date has been updated manually by the user and does not override those.

Disables the function if the deployment setting returns an invalid input or "None".


Why are you making the start date & end date selectors variables?
If you think this can be reused elsewhere then maybe not HRM-specific?