For more information, please refer to this announcement explaining best practices for getting answers to questions.
Approval rules for Change or delete National ID in Personal Information
Summary:
We have a condition set for National IDs in Change Personal Information workflows where it says - If there is a change in existing National ID initiated by HRBP or HRIS then it should auto approve.
((GetAllRepresentatives("HR_REP",Task.payload.Worker's Representative.result) != transactionApprovalRequest.requestor) AND ((Requestor's Role Details.roleName == "HRIS View All") OR ((Requestor's Role Details.roleName == "HRIS VIEW ONLY View All") OR (Requestor's Role Details.roleName == "HRIS LIMITED View All"))) AND ((Proposed Person National IDs.result.National ID == null) OR (Current Person National IDs.result.National ID != Proposed Person National IDs.result.National ID)))
But the issue we are facing is whenever the HRBP/HRIS tries to delete the existing National ID, the transaction ends in error. The error says " The rule has a null condition". The same issue happens when HRBP/HRIS tries to Add a National ID for the first time. We have tried the below condition as well but still the error persists.