As explained in the module configuration page, the "Work Orders created in the last" field defines the time range of work orders to be displayed on the map. This setting is based on the creation date of work orders in FSM.
Every day at 02:00 AM (Europe time zone), a scheduled task runs to synchronize the cached data by:
-
Keeping only work orders with status defined by the system properties fsm.stateCodeToKeep (System Properties management ). All operations related by deleted work orders are automatically deleted. By default work order status to keep are:
-
Open, Planned, Sent, In charge
-
-
AND Removing all work orders created before the number of days specified in the "Work Orders created in the last" configuration field
These two conditions are combined with an AND operator: both must be true for a work order or operation to be deleted from the cache.
Real-Time Updates via Event Streaming
In addition to the daily cleanup task, NextGen Geo continuously updates cached data through event streaming from FSM. It receives real-time events related to the following entities:
-
Work Order:
Insert / Update / Status change events -
Work Order Operation:
Insert / Update / Status change events -
Technical Object - Asset and Account:
Insert / Update events
This ensures that NextGen Geo always reflects the most up-to-date information coming from FSM.