3

I have a time dependent workflow rule that doesn't work.

  • Criteria: A case object's status is changed to "X" or "Y"
  • after 3 days - send email alert
  • after another 4 days - send another email alert
  • after another 2 days - close case

WFR is activated.

Rule criteria is :

Case: Status EQUALS Need More Info,Customer to Verify

Evaluation criteria :

Evaluate the rule when a record is created, and any time it’s edited to subsequently meet criteria

In the Monitor-time based workflows-queue - I see the correct cases, but when the time comes to send the email - nothing happens and later on the cases disappear from the queue, again - without any action taking place. Following steps also appear in the queue (3 entries for each case), but nothing happens to these cases, they remain unchanged.

Time dependent workflow actions

The email alert I'm using is defined to be sent to Email Field : Contact Email enter image description here

Does anyone have an idea what I'm missing? Please advise.

10
  • Silly question possibly, you're not in a sandbox are you? You might need to change your Deliverability settings under: Administer > Email Administration > Deliverability. Be careful doing this though as any e-mails that could send from the Sandbox will send to any and all e-mail addresses assuming you choose "All email", including your customers.
    – Dan Jones
    Oct 12, 2015 at 14:34
  • Would you please edit your post using the edit link at bottom left to show us who the alerts are sent to (what fields and objects are the send to's based on)? Make certain the templates are using the correct objects and related fields to send them along with a valid email address to send them from.
    – crmprogdev
    Oct 12, 2015 at 14:57
  • I think it would be helpful to see your actual time triggers on the WFR. are they set after the rule trigger date or are you using another date field for the time trigger? Oct 12, 2015 at 17:09
  • 1
    And another (basic) question : How do I know the email was sent? I was expecting to see it in the case itself, under the emails section. Is it true? it's possible that an email was sent and nothing is shown in the case object? I'm asking because in one of my tests I added another email alert to myself, and now I see that I do get this emails to myself, but they are not shown in the case object.
    – Rachel S.
    Oct 12, 2015 at 20:38
  • 1
    Emails triggered by workflows do not log an activity. Please see this KB article which also suggests a workaround: help.salesforce.com/…
    – pchittum
    Oct 12, 2015 at 22:25

1 Answer 1

3

Here is what you describe:

  1. You have a workflow with time-based email actions
  2. The actions go into the queue
  3. The actions are then removed from the queue but the email is not sent

If this is, in fact, the case, then this is a bug and should be reported as a case to support.

But in your notes, it sounds like maybe the emails are being sent, you just don't see them logged as activities. Is that actually what is happening?

If so, this is a known behavior (and currently the way this feature works). Take a look at this KB article in online help. In it, you will see the explanation, along with:

  1. A suggested work around to also log a task as a second action on the same time trigger.
  2. A link to the IdeaExchange idea that you can vote for to make this feature part of the platform.
1
  • Thanks Peter! I understand now that you are correct! I was expecting to see the emails as an activity in the case. Didn't know about the actual behavior. I entered the link, and also voted on the idea (sure would have saved me a whole lot of time...)
    – Rachel S.
    Oct 13, 2015 at 7:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .