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
ShunnShunn 

Trigger to send an alert or notification to a particular user

I think I need a trigger as Process builder doesnt seem to cut it for this use case. I am an admin and have ZERO coding experience and need a trigger help here.
I would want to be notified when there is a change on amount or probability field on the opportunity object and it is in the current quarter or next quarter – applies to all records. It should only apply to a product family type - Hardware and Services ONLY.
I would want to be notified if a new record is created in current or next quarter, and same goes for deletes, or a record is moved from current quarter to next quarter. Again, It should only apply to a product family type - Hardware and Services ONLY.

Any help with a trigger please? Thank you!
 
Abhishek BansalAbhishek Bansal
Hi Shunn,

You can use a workflow for this case. All your conditions will come under the entry criteria of the workflow and you can use email template in the immmediate actions for the worklfow. Please let me know if you need any further help on this.

Thanks,
Abhishek Bansal.