SOLVED

Trigger on 30th day

Go to solution
Malik_Zafar2
Level 3

Trigger on 30th day

Example Scenario: I want to trigger actions if a record's lead status has been "Working" for 30 days. 

What logic would I use for the trigger?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Trigger on 30th day

Change Data Value a custom Date field to

   {{system.date}} + 30days

when their status changes to Working.

If their status changes to something else, empty the Date field.

The batch of people whose Date field is today are the people who have been in Working for 30 days (straight).

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Trigger on 30th day

Change Data Value a custom Date field to

   {{system.date}} + 30days

when their status changes to Working.

If their status changes to something else, empty the Date field.

The batch of people whose Date field is today are the people who have been in Working for 30 days (straight).

View solution in original post

Malik_Zafar2
Level 3

Re: Trigger on 30th day

Brilliant - thank you Sanford.