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
bs881026bs881026 

shall we use Workflow or trigger

Hi, I have scenario, where there is a field on Case object called status, my requirement is that I want send an email alert to the concerned person if a Case is with 'Open status' for 15 days. What is the best way to achieve that.

Thanks
Javier RochaJavier Rocha
Hi, 

As usual always pick the easiest option, if you can do it with workflow choose that instead of triggers. 

Regards,
Javi
mritzimritzi
Use Process Builder or Workflow
Set a scehduled action that will execute after 15 days from record creation.
In formula field, check the status of the case, if its open then add an caction to send Email.

Mark this as Best Answer, if this helps solve your problem.
Rakesh51Rakesh51
Use a Process Builder to send out an email alert to user. Its very easy to configure.
1. Create a Porcess on Case objetc
2. Set condition Case status= Open status
3. Set Schedule action i.e 15 Days
4. Then create a new email alert