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
Kushal MishraKushal Mishra 

i want to use Time-Dependent Workflow Actions at midnight(12:00 PM) on created date for an opportunity

Hello All,

I want to use Time-Dependent Workflow Actions.Suppose one opportunity has been crretaed at any time so we want a sand a mail at midnight(12:00 PM) on the same day.Please help me.
pconpcon
You'll have to do this with scheduled apex [1].  You cannot set time-dependent workflows to happen at a specific time, they all occur at a set interval after the workflow rules happen.  You may also want to look at relax [2] to do this as well.

[1] http://blog.deadlypenguin.com/blog/2012/05/26/scheduled-actions-in-salesforce-with-apex/
[2] https://github.com/zachelrath/Relax