Hi All,
I have a point feature service on AGOL which gets populated daily with new points, data and attachments.
I'm trying to make a WHERE clause for an AGOL reader so FME only reads data from the last 3 days. According to ArcGIS dev page https://developers.arcgis.com/rest/services-reference/query-feature-service-layer-.htm , the WHERE clause should look like this EditDate > CURRENT_TIMESTAMP - INTERVAL '03' DAY
.
However, FME gives me a fatal error.
Simple queries like EditDate > '2020-03-05 00:00:00.000' work just fine.
EditDate is esriFieldTypeDate and it comes into FME as '20200305235154.156000'
P.S. the script will be published to FME Server (Cloud), so the solution should work for the Server too.
Please help!