Select to view content in your preferred language

Controlling Job Cleanup Time for Append Operations in ArcGIS Python API/REST API

129
0
04-04-2025 01:26 AM
fmcintosh
New Contributor

Hi,

I'm using the append operation on a feature service layer (hosted) using either the ArcGIS REST API or the Python API. Example response from the ArcGIS REST API documentation: https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/0/append/jobs/b62e9db7-507c-44...

 

When you use future=True with the Python API this will return a Future object. However, I'm finding the job is being cleaned up too quickly (around 3 minutes). So, when I go back to query the Future object it raises an exception.

 

I'm wondering is there a setting to control how long these jobs stay on the server? They don't seem to fall under either geoprocessing or administrative jobs which you can view through Server Manager.

 

Links

Append (Feature Service/Layer) | ArcGIS REST APIs | ArcGIS Developers

arcgis.features module | ArcGIS API for Python

0 Kudos
0 Replies