SOLVED

Smart List Date Filters and Custom Object Records

Go to solution
nhabischWings
Level 5

Smart List Date Filters and Custom Object Records

Hello,

Looking to do a basic pull for a Custom Object Record of Membership Date that is 1 year ago to the day. In theory this should work according to everything I've read:

nhabischWings_0-1681740836286.png

But it's pulling all sorts of different dates for the field. When dealing with Custom Object records, is this an issue with the Smart List filtering and using multiple filters of the same object? Or is something wrong with our date field input? It's coming in as the proper YYYY-MM-DD, but something is off.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Smart List Date Filters and Custom Object Records

The problem with this logic (as people sometimes discover too late) is that the filters are not necessarily looking at the same record.

 

So this could only work if the person has one and only one CO record.

 

The way to prepare for this is having 2 DateTime fields on the CO, each holding the same value.

View solution in original post

5 REPLIES 5
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Smart List Date Filters and Custom Object Records

What is your SL filter logic  (ANY or AND)? Do you want to pull in records with the "Membership Opening Date" field = any value in the past 1 year or the records with the "Membership Opening Date" field = exactly 365 days in the past from today?

 

FYR - "In past Before x days" operator would pull all people with a date set to a value before x days (e.g., x-1, x-2, etc.) or don't have any value in the field (i.e., Membership Opening Date = NULL would also be filtered in if you're using ANY smart list filter logic.)

 

nhabischWings
Level 5

Re: Smart List Date Filters and Custom Object Records

Opps sorry, "AND" would be the logic - looking for those who are at exactly 365 days for a 1-year email.


SanfordWhiteman
Level 10 - Community Moderator

Re: Smart List Date Filters and Custom Object Records

The problem with this logic (as people sometimes discover too late) is that the filters are not necessarily looking at the same record.

 

So this could only work if the person has one and only one CO record.

 

The way to prepare for this is having 2 DateTime fields on the CO, each holding the same value.

Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Smart List Date Filters and Custom Object Records

Agreed, and then we'd use separate fields instead of referencing the same field in both filters to get people who have CO record(s) such that their Membership Date equals 365 days ago from today.

 

nhabischWings
Level 5

Re: Smart List Date Filters and Custom Object Records

Got it, thank you both!