Change Personal Info Approval Rule Error - Inactive Workers
Summary:
We're getting the following error when trying to change a last name on a terminated worker via My Client Groups > Personal Details.
"Error due to null value for an attribute in ChangePersNameEmp rule."
Resolution we're given is: "Ensure that a value is entered for the mandatory attribute used in the rule configuration or add a not null condition for this attribute"
We have two rules (different if the worker is an employee vs contingent worker, employee the name changes route to HR for approval)
((transactionApprovalRequest.ViewInstanceName == "PersonGlobalName") AND (Worker's Assignment.result.userPersonType == "Employee"))
((transactionApprovalRequest.ViewInstanceName == "PersonGlobalName") AND (Worker's Assignment.result.userPersonType != "Employee"))