I have a question regarding ArcGIS ModelBuilder. I've created a model that calculates a few fields. It runs flawlessly when attachments are NOT enabled on the feature class. However, I need the ability to have attachments enabled on this layer. When I run the model with attachments enabled I get:
RuntimeError: Objects in this class cannot be updated outside an edit session [MES_Suvey.DBO.MI.South]
Does any one know if it is possible to start an editing session within ModelBuilder?
I know I can manually enter a session within ArcMap and run successfully but I am also publishing the model as a geoprocessing service and it fails when run from a web map if the feature class has attachments enabled.