Termination
This topic lists the implementation considerations for the Terminate Employment process.
You can typically use field value defaulting and validation in these cases.
- Default rehire recommendation to Yes for all employee terminations.
- Default the Revoke User Access field to 'Immediately' when Termination Type is 'Involuntary Termination'.
- Validate that only Terminate Contingent Worker action is used for contingent workers on the Termination page, else display an error.
- Validate that employees aren't terminated on a leave of absence.
Refer to Change Assignment for tips and considerations.
Examples
Default rehire recommendation to Yes for all employee terminations
{
"id":"rule442,
"label": "rule442",
"description": "",
"status": "active",
"overlay": {
"fields": {
"employmentWorkReIationships.RehireRecommendation": {
"value": {
"value": "Y"
}
"@dt" {
"conditionFieldLabels": {
"$fields['employmentWorkReIationships.RehireRecommendation']": [
{
"value": "Y",
"label": "Yes"
}
}
}
}
}
}
},
"condition": {
"expression": true
}
}
Default the Revoke User Access field to 'Immediately' when Termination Type is 'Involuntary Termination'
{
"id": "rule1646",
"label": "rule1646",
"description": "",
"status": "active",
"overlay": {
"fields": {
"employmentWorkRelationships.RevokeUserAccess " : {
"value": {
"value": "I"
}
"@dt": {
"conditionFieIdLabeIs": {
"$fields['employmentWorkRelationships.RevokeUserAccess']": [
{
"value": "I",
"label": "Immediately"
}
}
}
}
}
}
},
condition": {
"expression": "[[ $fields. employment.WhenAndWhy.TerminationType.$value() === 'Involuntary' ]]",
"referencedFields": {
"generated": [
"employmentWhenAndWhy.TerminationType"
]
}
}
}—