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
pcmca_2007@yahoo.co.inpcmca_2007@yahoo.co.in 

Stage Change Trigger

Hi All,

          I need to write trigger on opportunity on stage change and send a mail to owner of that opportunity.

          Can anybody tell me what  trigger should look like.

 

    With Regards

   Prabhash Mishra

bob_buzzardbob_buzzard

Do you have to do this via a trigger?  Workflow can detect a change to the opportunity stage and send an email alert - its better to use that if you can.