Quick Trigger Question - Field Not being updated, but the age is | Community
Skip to main content
Paul_Johnson
New Participant
May 23, 2017
Solved

Quick Trigger Question - Field Not being updated, but the age is

  • May 23, 2017
  • 1 reply
  • 2352 views

Hey guys,

Hoping you can help me with a quick question. I need to send an email based on a trigger of a date field becoming 30 days old. In this case, it's part of the opportunity, "last activity date". The attribute field is NOT changing in this case. If the last date of activity is June 1st, and it isn't touched for 30 days, I need an email to be sent out. In this case, would my screenshot below be the correct way to set it up? The trigger attribute is the last activity date, and the new value is now "in past before" 30 days? Thanks for the help!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Paul, a change in the delta between now and the stored value isn't a change in the value. Run this job as a batch, not a trigger SC.

1 reply

Chris_Johnston
New Participant
May 23, 2017

I'd set it up like this.

Paul_Johnson
New Participant
May 23, 2017

Thanks Chris,

But was is the trigger attribute that sets the email off?

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
May 23, 2017

Paul, a change in the delta between now and the stored value isn't a change in the value. Run this job as a batch, not a trigger SC.