Contact approval rule is not populating ContactType
Content (please ensure you mask any confidential information):
Our costumer needs an approval rule that trigger when certain contac types are added or edited, and for every contact deletion. In the past, this rules was functional but now its not populating the attribute ContactType, making it fail with the error "An attribute in the Contactos rule has a null value". The rule that we created is the following:
(((transactionApprovalRequest.ViewInstanceName == "QuickContact") OR (transactionApprovalRequest.FamilyOrEmergencyContact == "Y") OR (transactionApprovalRequest.ViewInstanceName == "MyRelationship") OR (transactionApprovalRequest.ViewInstanceName == "MyContacts")) AND ((((Proposed Person ContactRelationship.contactType == "S") OR (Proposed Person ContactRelationship.contactType == "PADREMADRE") OR (Proposed Person ContactRelationship.contactType == "HIJO") OR (Proposed Person ContactRelationship.contactType == "PAREJACONHIJOS") OR (Proposed Person ContactRelationship.contactType == "HIJOADOPTIVO") OR (Proposed Person ContactRelationship.contactType == "CONVIVINTECIVIL")) AND (transactionApprovalRequest.DMLMode == "ADD")) OR (((Current Person ContactRelationship.contactType == "S") OR (Current Person ContactRelationship.contactType == "PADREMADRE") OR (Current Person ContactRelationship.contactType == "HIJO") OR (Current Person ContactRelationship.contactType == "PAREJACONHIJOS") OR (Current Person ContactRelationship.contactType == "HIJOADOPTIVO") OR (Current Person ContactRelationship.contactType == "CONVIVIENTECIVIL")) AND (transactionApprovalRequest.DMLMode == "EDIT")) OR (transactionApprovalRequest.DMLMode == "DELETE")) AND