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
Pushkar GuptaPushkar Gupta 

Hello all, i have a question regarding the process builder.

 when a user updates another user record .an email should go to real opp owner that this user has updated your record. plz help me with this.
Best Answer chosen by Pushkar Gupta
Sachin P Sam 1Sachin P Sam 1
Sure,

First Create an Email Template (Setup-->Classic Email Templates)and click new then, select the type as text.Then add the Email Body with the following Code
Hi,  {!Contact.OwnerFirstName},

Your Record is being edited by {!Contact.LastModifiedBy}.

Pls have a look at the record: 

Https://ap5.salesforce.com/{!Contact.Id}
  • Please Ensure that the 'available for use' check box is selected. 
Then create an Email alert (Setup--> Email alerts-->New Email Alert)​
  • Then the names of the alert.
  • Select the object where you plan to implement this.
  • In Email Template checklist ,select the email template you created.
  • In Receipent Type box, select as the 'record owner'and Save
Finally we create the process with the process builder.
  • Select 'The process starts when*' with 'when record changes' give proper name for process.
  • Then add object you wish to implement(this should be same as selected in email alert).
Add criteria 
NOT(ISNEW()) && ([Contact].CreatedById != [Contact].LastModifiedById )
  • In immediate action select 'Email alerts' and select the email alert you created.
  • Activate the flow.
  • Check and verify the results.
In case of more queries you can reach me at :  sachinpsamsalesforce@gmail.com
Regards,
Sachin P Sam

All Answers

Sachin P Sam 1Sachin P Sam 1
@Pushkar Gupta
  • Create a Email Template,like this 
Hi,  {!Contact.OwnerFirstName},

Your Record is being edited by {!Contact.LastModifiedBy}.

Pls have a look at the record: 

Https://ap5.salesforce.com/{!Contact.Id}
  • ​Create Email Alert ,with receipt type as record owner.
  • Finally Create the Process using Process Builder ,with the following  Criteria,and call the email alert created.
    NOT(ISNEW()) && ([Contact].CreatedById != [Contact].LastModifiedById )

    Regards,
           Sachin P Sam
Pushkar GuptaPushkar Gupta
it didnt worked.
Sachin P Sam 1Sachin P Sam 1
What is the issue you are facing now
Sachin P Sam 1Sachin P Sam 1
Sure,

First Create an Email Template (Setup-->Classic Email Templates)and click new then, select the type as text.Then add the Email Body with the following Code
Hi,  {!Contact.OwnerFirstName},

Your Record is being edited by {!Contact.LastModifiedBy}.

Pls have a look at the record: 

Https://ap5.salesforce.com/{!Contact.Id}
  • Please Ensure that the 'available for use' check box is selected. 
Then create an Email alert (Setup--> Email alerts-->New Email Alert)​
  • Then the names of the alert.
  • Select the object where you plan to implement this.
  • In Email Template checklist ,select the email template you created.
  • In Receipent Type box, select as the 'record owner'and Save
Finally we create the process with the process builder.
  • Select 'The process starts when*' with 'when record changes' give proper name for process.
  • Then add object you wish to implement(this should be same as selected in email alert).
Add criteria 
NOT(ISNEW()) && ([Contact].CreatedById != [Contact].LastModifiedById )
  • In immediate action select 'Email alerts' and select the email alert you created.
  • Activate the flow.
  • Check and verify the results.
In case of more queries you can reach me at :  sachinpsamsalesforce@gmail.com
Regards,
Sachin P Sam
This was selected as the best answer