AnsweredAssumed Answered

SDE feature class attributes updated with Python script not displaying

Question asked by COLGIS4 on Jul 26, 2018
Latest reply on Jul 27, 2018 by COLGIS4

My Python script tool runs from the geoprocessing pane in ArcGIS Pro 2.2, and what it does is create a new point in an SDE feature class and populate  attributes.  You could say that it is working, but the problem is that the new attributes for the point do not display in the attribute table until I perform more editing (manual, not via the script) on that feature class.  The new attributes need to be seen immediately after the script ends.  

 

I use an edit session in arcpy (my SDE feature class is versioned) and within that I do an update cursor for the new attributes.  But somehow there seems to be a delay with edits being committed or the row getting updated or the edit session being saved.

Outcomes