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
davidesidavidesi 

Problems testing email sending within a workflow rule in Developer sandbox

Hi to all.

I am trying to test the email sending when an opportunity field is changed.

I have followed below steps:

1)Create a work flow rule.

AND( ISCHANGED(Approval_Status__c ) , NOT ISPICKVAL( Approval_Status__c , 'Abierto') )

2) With following "Immediate Workflow Actions"

Email Alert envio al propietario

 

Description envio al propietario Email Template Oportunidad enviada a ANEG automaticamenteUnique Name envio_al_propietario Object Opportunity From Email Address Current User's email address     Recipients Opportunity Owner Additional Emails  

 

The rule is active, and I am opportunity owner. I receive other emails from Salesforce (so it is not problem of spam).

 

Why I don' receive any email?

I should receive an email when the field "Approval_Status__c " would change, but I don't.

 

Thanks in advance for your help

 

Kamatchi Devi SargunanathanKamatchi Devi Sargunanathan

Hi,

 

Your condition somewhat not complete. Try the following,

 

AND( 

     ISCHANGED(Approval_Status__c ) , 

     NOT(

              ISPICKVAL( Approval_Status__c , 'Abierto')

      )

)

 

Hope so this helps you...!

Please mark this answer a Solution and please give kudos by clicking on the star icon, if you found this answer as helpful.

davidesidavidesi

My formula was right. I have tested it in my developer account and it works fine. I supose that I can't receive emails from developer sandbox. I hope that it works in production.