Hello Experts
I am working on Gas utility network management on Esri Enterprise 11.5. The map/feature service service are published to support version management (branched versioned - NOT HOSTED). As part of the work flow, whenever GIS data is edited , those delta changes needs to update the Postgres database . As of now, current FME workflow , queries feature layer and gets all records and compares with destination and finds the changes. This is cumbersome and time consuming.
I am looking for example/use case how to efficiently query the everyday delta changes in Esri and get those records and update destination effectively.
capabilities: "Query,Extract,ChangeTracking"hasBranchVersionedData: true,hasArchivedData: truesyncEnabled: falsesupportsDisconnectedEditing: falsemaxRecordCount: 2000extractChangesCapabilities:supportsServerGens: truesupportsFeatureReturn: truesupportsReturnIdsOnly: truesupportsLayerQueries: false,supportsGeometry: falsesupportsFieldsToCompare: true
I understand the concept of serverGens.
serverGens=0 returning the full dataset is expected. Use it once as your baseline, then switch to a saved checkpoint.
- Baseline. POST extractChanges with layers=0, serverGens=0, returnInserts=true. Load the result into Postgres. The response includes layerServerGens, so save the serverGen for your layer id. You can also see the current values at https://<server>/arcgis/rest/services/<service>/FeatureServer?f=pjson under changeTrackingInfo.layerServerGens, but the baseline response is the safer source.
- Daily run. POST with layers=0, serverGens=<saved value>, returnInserts=true, returnUpdates=true, returnDeletes=true. A single value returns everything changed since that generation. Your service reports supportsServerGens: true, so you can use this instead of layerServerGens.
- Checkpoint. After the Postgres update commits, overwrite the saved value with the serverGen from that response. If a run fails, the next one retries from the same point.
Expiry. If the saved value falls below the layer’s minServerGen, the delta can’t be computed. Do a full reload.
Anyone tried this ? or any working example?


