function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
niven sfniven sf 

Hi! Send Email Notification to user if email is changed in contact object and also checks if the contact is community user or not?

Saravana Muthu 8Saravana Muthu 8

We have field called 'Partner Account' in Accout object to see of the contact is a community user or not .But you cannot use this field in workflow.

Even if you use it in Process Builder you will get an error like in the below link which is a salesforce issue.

So the workaround is to create a custom checkbox and update it via process builer.

Process builder:

1) Object - Account

2) Criteria - Partner Account EQUALS TRUE

3) Field Update - Update the custom checkbox to TRUE.

For existing Accounts to update this custom checkbox you can create a report with condition 'Partner Account=TRUE' and update it with dataloader.

Then reference this custom checkbox in workflow and send an email alert.

ISCHANGED(Email) && Account.Partnerv1__c

Please let me know if you can able to understand?

Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.

Sweet Potato Tec