Hi everyone,
I’m working with Tasks in ArcGIS Field Maps and I’m trying to implement a shift-based time filter.
We run operational shifts from 06:00 today to 06:00 the next day. We need the task list to be consistent across midnight, e.g.:
The same user logs in again at 02:00 (after midnight) and should still see the same shift tasks, not a new set.
The task layer contains the standard due date field esritask_duedate, which is filled and used as the “deadline”.
A basic filter like the following is valid and works logically for “calendar day”, but it breaks after midnight because the day changes:
(0.2083333333 = 5/24, intended to represent “06:00 local” depending on time zone setup.)
Problem: when the calendar day changes at midnight, users logging in between 00:00–06:00 see the next day’s window, and tasks from the ongoing shift are no longer included.
To keep the same shift across midnight, I tried a dynamic “switch” logic:
Else filter today 06:00 → tomorrow 06:00
(
This expression appears valid in Field Maps Designer, but when opening the map in theField Maps mobile app, Tasks fail to load and the app shows:
“Tasks couldn’t be loaded. Contact the map author for more information.”
I also tested using EXTRACT(HOUR FROM CURRENT_TIMESTAMP) earlier, but Field Maps mobile did not support it either (same outcome).
Any hints, confirmed limitations, or working examples would be greatly appreciated.
Thanks in advance!
When testing this, i found out that Date Arithmetic is not supported on the Client although the expression seems to be valid in FieldMaps Designer.
I tested expressions such as CURRENT_DATE + 1 = CURRENT_DATE + 1 which compared to 1=1 delivers no results.