how to dynamically filter date in record type

Hi there,

 I have a record type, just want to show the recent 7 days data, so in "Data Model" tag, I added a filter like this:

a!queryLogicalExpression(
operator: "AND",
filters: {
a!queryFilter(
field: "verifiedon",
operator: ">",
value: todatetime(today() - 7)
)
},
ignoreFiltersWithEmptyValues: true
)

but seems it did NOT dynamically sync, after just set the filter, I manually sync, I just saw the last 7 days data. but for today, it's supposed to just see the data since 6/24. but I still see the data older than that.

so do I need to set the sync options to do the sync every day? or any better way to do this?

regards,

L

  Discussion posts and replies are publicly visible