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
chowdary marellachowdary marella 

strange issue facing regarding time dependent workflow

Hi all,  i am facing a issue, which i never faced.can any one work around it?

 

Need to send email before 1day,1hour,3hours. based on duedate__c . so i have created time based workflow  with rule criteria as Lead:duedate NOT equal to Null.

 

 

i am creating 3 dummy records to check giving before 1day,3hrs,1hr.

 

But surprise, iam getting 2 emails of 1hr,1day   to the email given in 1hour record.

 

but getting 1 email before 1 day. and 3hours which i expected..

 

 

issue :Why iam getting 2 mails for the email where i have to recieve only 1 hour template..

 


is i need to go for schedular class??
suggest me

justin_sfdcjustin_sfdc

Hi chowdary,

From what i understand, you need to send emails to the users three times; 1 day before the due date, 3 hours before the due date and 1 hour before the due date. Right?
If this should happen at the time of record creation only then on your workflow evalution criteria, select "Created" else select the third option "Created and anytime its edited to meet the criteria". 
Also, since you are saying that you are receiving the 2 emails for the only 1 hour template, please check that template to be sure that you are assigning that email to you only one time.

Hope that helped.

Thanks,
justin~sfdc
 

chowdary marellachowdary marella
Thanks for your response.Resolved. Issue is because I have tested in a wrong way,,
justin_sfdcjustin_sfdc
Please mark my answer if I helped you in resolving the issue.

Thanks,
justin~sfdc