Display Company Address if Contact Address is empty

Display Company Address if Contact Address is empty

Hi team, any change to display the billing address of a company in a contact which is related to the company if the mailing address within the contact is empty?

I tried to solve it with a workflow an



And with a custom function to update the fields in the contacts module with the values of the accounts module.


Unfortunately it's not working. Any idea how to fix it?