marikt94
11/13/2025, 5:09 PMflarco
11/15/2025, 11:07 AMstate:
from_date: >
{
coalesce(
date_format(sync.last_sync_date, "%Y-%m-%d"),
state.init_date
)
}
to_date: '{date_add(state.from_date, 60, "day")}'marikt94
11/15/2025, 11:08 AMmarikt94
11/15/2025, 11:08 AMflarco
11/15/2025, 11:09 AMdate_add(date_parse(state.from_date), 60, "day"), since from_date i think is a stringmarikt94
11/16/2025, 10:19 AMflarco
11/16/2025, 2:43 PMstate.server_name will not work right now, in object you only use [runtime vars](https://docs.slingdata.io/concepts/replication/runtime-variables), not the state/hook space. This will come later.