SOLVED

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

Go to solution
Paul_Johnson
Level 5

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

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!

pastedImage_0.png

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

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

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.

View solution in original post

4 REPLIES 4
Chris_Johnston
Level 8

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

I'd set it up like this.

Screen Shot 2017-05-23 at 11.43.36 AM.png

Paul_Johnson
Level 5

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

Thanks Chris,

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

SanfordWhiteman
Level 10 - Community Moderator

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

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.

Chris_Johnston
Level 8

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

I'd run a recurring batch campaign daily at a set time to look for all new cases where an opportunity hasn't been updated.

Schedule a Recurring Batch Campaign - Marketo Docs - Product Docs