First some context on how I update all of our other AGOL data layers. I have built a model in ESRI's model builder that truncates the AGOL feature class and then appends the new data to the feature class. This works very well for updating most of our layers.
The only layer we are having a problem with is our Zoning layer. It has a related table that contains variance information. Whenever I truncate and append the data to the zoning polygons and the variance table, it breaks the relationship class. Zoning polygons that previously had a related record now show "No records" in the map viewer.
I can fix it by overwriting the zoning layer in AGOL, but this can't be automated because there is no geoprocessing tool available for using in model builder to automate the overwrite. I have tried using python as well but I am no programmer and thus far I have not been able to get it to work. Does anyone have any ideas on how I can automate this update of our AGOL data? It is crucial that our data online stay up to date so I have to figure out something.