Skip to main content
Looking for ideas/ recommendations on how to send the following email alerts:

 

- After 1 business day of a lead being uncontacted

 

- After >=2 business days of a lead being uncontacted

 

I have created a formula field (Business_Days_Since_Created__c) to calculate the business days (which seems to be working as expected) and used this field in a Workflow Rule. However, the emails are not being triggered at all.

 

AND(ISCHANGED(Business_Days_Since_Created__c),

 

ISPICKVAL(Status,"Un-Contacted"),

 

Business_Days_Since_Created__c > 1)

 

*Evaluation criteria = Evaluate the rule when a record is created, and every time it's edited

 

Thanks!
2 answers
  1. Dec 5, 2016, 4:15 PM
    You can't fire a workflow based on changes made to a formula field, because formula field values are not really stored in Salesforce, but rather are calculated when a user looks at a page or report that should show a value. A workflow rule has to be triggered either by a record being created or some change being made to the record. What you will want to do is set up a Workflow Rule with time-dependent actions.

     

    How this would work is that when a Lead record is created that meets the criteria (status = Un-Contacted), the email alert would immediately go in to the time-based queue and be scheduled to be sent out 1 day later. If, at any time before then, the workflow rule is no longer true (i.e. someone changes the status to something else), then the email alert will be removed from the queue and will not be sent. If the workflow rule is still true a day later, then the email alert would be sent. So essentially, you set up the time based actions at the time the workflow rule runs, and they will be sent at the appropriate time unless something changes.

     

    It sounds like you are somewhat familiar with creating workflow rules; I would recommend reading up on time-dependent actions here: Add a Time-Dependent Action to Your Workflow Rule