Updating attributes not working for all records

79
0
10-22-2019 12:40 PM
CristyBurch
New Contributor

I have a script to update attributes nightly in a feature service published on AGO.  It is basically a spatial join to update attribute fields but done without using the actual spatial join method in order to not use credits.

I can't figure out why it is skipping some records.  I'm not versed enough in scripting to see the error.  For some records it is updating one of the fields but not others.  I have to break the dataset into chunks because of a slow internet connection.

Attaching my code.  Thanks in advance for any help!

0 Kudos
0 Replies