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
smriti sharan 10smriti sharan 10 

Email sent when status is changed

Hi,
There is a custom object in that whenever request is rejected or recalled then email should be sent to the requestor. So here the previous value is approved and new value of status is draft and the email should be sent to requestor.  What I should use here process builder, visual flow or trigger and how to use it
GauravGargGauravGarg
Hi Smriti,

Best way to write above logic is via Apex, still you can try using Process builder or visual flow.

Thanks,
Gaurav
Skype: gaurav62990
Email: gauravgarg.nmims@gmail.com
Ajay mishraAjay mishra
Hi smriti,

I would suggest. As per requiremet you can use workflow to send the emails. 

There is no as such complex logic to send email.