Generate User Email On company change

AshishDas
Regular Contributor
Regular Contributor

Hi,

We have a requirement on updating user email on their change of company and need a logic or a workaround for the same.

We have around 82 companies at the moment of which 77 companies have the same email domain, except the leftover 5 companies which have a different domain.

When a company changes within the same domain, we do not wish the user email to get updated. However, when the company of the user changes to a different domain we wish the email to be re generated.

Writing a user update rule as below, triggers generate email everytime the user company changes and generates a new email for the user, even if the domain value is same

AshishDas_0-1672816763731.png

 

Any workarounds will be appreciated?

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Use advanced query and check new and old value of companies