AnsweredAssumed Answered

Geoprocessing service with insert/update cursors - how to have multiple users?

Question asked by MollyKFoley on Mar 15, 2018
Latest reply on Mar 15, 2018 by jskinner-esristaff

I have a python script that I would like to publish as a geoprocessing service, but it contains many update and insert cursors to update database tables. Since instances of these cursors cannot occur simultaneously, how do you manage having multiple users possibly using it at the same time? I would assume versioning of the database, but then isn't a lock made on the database when you save the edits to the default database? Does anyone have a quick arcpy sample of versioning?

Outcomes