Timestamps are messy. The DateTimeDiff function keeps choking on the incoming ISO string, and GetDayOfWeek returns a localized string that breaks the conditional logic. Trying to filter a webhook payload where I need to skip weekends and anything older than three days. Here’s the exact syntax I’m dropping into the expression builder, and the platform just drops the transaction with a 400 validation error:
${DateTimeDiff(DateTimeParse(Trigger.Data.created_at), DateTimeNow(), "d") > 3 ? "stale" : "fresh"}
${GetDayOfWeek(DateTimeParse(Trigger.Data.created_at)) == "Saturday" ? "halt" : "route"}