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
Tashika GuptaTashika Gupta 

how to send a email daily using workflow?

have an object in which have two feilds status and targeted date . i have to send an email alert to the user when the status feild is work in progress daily till targeted date .
how can imimlpement this 
BalajiRanganathanBalajiRanganathan
The Scenario is not possible using Workflow and it is better to write a batch Apex to achive this

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
BalajiRanganathanBalajiRanganathan
The following logic might work but still i would suggest writing a batch apex.

add two new flags (Checkbox_1 with default true and Checkbox_2 with default false)

WORKFLOW 1  created and everytime it is edited to subsequently meet the criteria
RULE:  status= 'In Progress' AND Checkbox_1= true
one hr Time Trigger ACTION:= CHECKBOX_2 = false
1 day  after Time Trigger ACTION: CHECKBOX_2 = True (reevaluate workflow rules after this action) and email action
 
WORKFLOW 2  created and everytime it is edited to subsequently meet the criteria
RULE:  status = 'In Progress' AND Checkbox_2= true
one hr Time Trigger ACTION= CHECKBOX_1 = false
1 days Time Trigger ACTION: CHECKBOX_1 = True  (reevaluate workflow rules after this action) and email action
Tashika GuptaTashika Gupta
thankq balajiranganathan.
I have done it through apex,trying to resolve the situation through configuration.
I will try this worfkflow logic
Tyler CaceresTyler Caceres
Tashika,
Did it work?