<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best approach for a workflow API Python &amp; arcpy?  in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833246#M3252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran into this error using your tool. I can't find any info on it on. Do you have any idea whats going on ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LINE: 292 &lt;BR /&gt; "fs.load(fsURL)": RecordSetObject: Cannot load a table into a FeatureSet.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454529_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/454531_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jul 2019 19:34:26 GMT</pubDate>
    <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
    <dc:date>2019-07-26T19:34:26Z</dc:date>
    <item>
      <title>Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833240#M3246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to update our sde with a hosted feature layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best approach for this. I'm aware of the API Python and Arcpy.&amp;nbsp; I'm a little confused on how to start of this script. I have a fair amount of knowledge with arcpy and have created complex scripts with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The goal is that this script will run automatically or when ever I want it to. Basically I want to take a hosted feature layer that is a copy of our database and update changes that were captured in the Hosted Feature Layer back to our database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I use the API for Python to connect to the Hosted feature layer or can I use Arcpy for that? Would I use both the arcgis python API and arcpy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 21:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833240#M3246</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-06-12T21:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833241#M3247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro's Feature Class to Feature Class tool will download the hosted feature class.&amp;nbsp; You could create a model to download the feature class, truncate the Enterprise Geodatabase feature class, then append the downloaded feature class to the Enterprise Geodatabase feature class.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, here is another tool that will download a hosted feature service that works in ArcGIS Pro and ArcGIS Desktop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-6496-download-arcgis-online-feature-service-or-arcgis-server-featuremap-service"&gt;https://community.esri.com/docs/DOC-6496-download-arcgis-online-feature-service-or-arcgis-server-featuremap-service&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 23:46:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833241#M3247</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2019-06-12T23:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833242#M3248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jake!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there's no need to use ArcGIS API for python?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by&amp;nbsp;turncate what does this do? does this delete everything in the enterprise database? I don't think that I would want to do this, I really just want to update 1 field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i tried the tool and I can't get it to create a token. We use OKTA to login into our ArcGIS online accounts. I think thats where the problem occurs, because if I make it public it works no problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generating Token&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;URL is incorrect. Or, Service is secure, please enter username and password.&lt;/P&gt;&lt;P&gt;Completed script DownloadService...&lt;BR /&gt;Failed to execute (DownloadService).&lt;BR /&gt;Failed at Wed Jun 12 21:31:18 2019 (Elapsed Time: 1.12 seconds)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 01:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833242#M3248</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-06-13T01:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833243#M3249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, you won't need to use the ArcGIS API for Python.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, a truncate will delete all features in the feature class.&amp;nbsp; If you want to update a field, you could perform a join to the downloaded feature class and then a Field Calculation to calculate the values over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool I shared won't be able to authenticate with Okta.&amp;nbsp; It will be best to connect to ArcGIS Online in Pro and use the Feature Class to Feature Class tool to download the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833243#M3249</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2019-06-13T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833244#M3250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I got it to work that way. So to run this script I would have to log into Pro. I couldn't have this script to run automatically, say over night ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This tool is amazing by the way!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the share.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 16:45:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833244#M3250</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-06-13T16:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833245#M3251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, could update the &lt;EM&gt;&lt;STRONG&gt;#Variables&lt;/STRONG&gt;&lt;/EM&gt; at the beginning of the script.&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/450238_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use &lt;A href="https://www.esri.com/arcgis-blog/products/product/analytics/scheduling-a-python-script-or-model-to-run-at-a-prescribed-time/"&gt;Windows Task Scheduler&lt;/A&gt; to execute the script.&amp;nbsp; If you can, I would see if you could create an ArcGIS Online &lt;STRONG&gt;built-in account&lt;/STRONG&gt; so that you don't have to share the service with Everyone.&amp;nbsp; Then you can share this service to a Group that user is a member of.&amp;nbsp; That way you use these credentials to create the token and download the service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 17:22:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833245#M3251</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2019-06-13T17:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833246#M3252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran into this error using your tool. I can't find any info on it on. Do you have any idea whats going on ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LINE: 292 &lt;BR /&gt; "fs.load(fsURL)": RecordSetObject: Cannot load a table into a FeatureSet.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454529_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/454531_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 19:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833246#M3252</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-07-26T19:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833247#M3253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/230680"&gt;Adam Arcichowski&lt;/A&gt;‌ if you share the service to a Group and then invite my AGOL account (&lt;STRONG&gt;jskinner_CountySandbox&lt;/STRONG&gt;) I can take a look to see what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 13:44:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833247#M3253</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2019-07-29T13:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833248#M3254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jake.&lt;/P&gt;&lt;P&gt;But I found a work around. I just added the data with a path in arcpro&amp;nbsp;&lt;/P&gt;&lt;P&gt;with arcpy.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 14:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833248#M3254</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-07-30T14:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833249#M3255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jake I've been using your tool for lots of data out there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I can across this error now. Do you know why? Do some datasets not allow you to download their data?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifally this data&amp;nbsp;&lt;A href="https://gis.bisclient.com/maps03/rest/services/RedRiverWeb/MapServer/0"&gt;https://gis.bisclient.com/maps03/rest/services/RedRiverWeb/MapServer/0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/455048_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/455047_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 18:56:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833249#M3255</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-08-01T18:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833250#M3256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its weird because if I type in&amp;nbsp;OBJECTID &amp;lt; 287 it will download. But if i put anything higher than&amp;nbsp;OBJECTID &amp;lt; 287 for example&amp;nbsp;OBJECTID &amp;lt; 288 it will give me that load table error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought this had something to do with the max record counts but when I look at the data it says 1000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/455049_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833250#M3256</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-08-01T19:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833251#M3257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/230680"&gt;Adam Arcichowski&lt;/A&gt;‌ I think something may be corrupt with this service.&amp;nbsp; If you filter the service by OBJECTID = 287, there are 2 features:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/455129_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how that is occurring since you cannot have duplicate OBJECTIDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 15:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833251#M3257</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2019-08-02T15:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833252#M3258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm weird.&amp;nbsp;&lt;/P&gt;&lt;P&gt;They turned off their service anyways.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 17:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833252#M3258</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-08-02T17:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach for a workflow API Python &amp; arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833253#M3259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran into the same error this morning and my feature would not download&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;"fs.load(fsURL)": RecordSetObject: Cannot load a table into a FeatureSet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Not sure if this has anything to do with it but the highest Object id was 4002 and the script was showing the message&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Copying features with ObjectIDs from 2034 to 3034&lt;BR /&gt;Copying features with ObjectIDs from 3034 to &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;4034&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Then it failed&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i used the where clause&amp;nbsp; and&amp;nbsp; specified the Object id to be less then or equal to the Highest object id in the table at the time and it worked as expected.&amp;nbsp; I then appended some information to the table and ran it with out the query and it seems to be working fine again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2020 07:58:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/best-approach-for-a-workflow-api-python-arcpy/m-p/833253#M3259</guid>
      <dc:creator>PaulSweeney3</dc:creator>
      <dc:date>2020-06-05T07:58:59Z</dc:date>
    </item>
  </channel>
</rss>

