I have a custom module "Observation Employee" and in it I am using a relate field of "Contacts". I want to get the old and new Contact name if it will changed while editing the existing Observation Employee record.
But the issue is when I get this field in bean then I receive old values. If I get some other field other than this relate field then I get new updated values. Is there any different way to get the updated value for relate field ?
$bean->deviation_type_c (dropdown field: receive updated value)
$bean->contacts_de_deviation_employees_1_name (relate field, receive old value)