Select to view content in your preferred language

Scheduled Tool Failing on Delete Rows

435
4
Jump to solution
03-25-2025 09:12 AM
Labels (2)
SadieWhitehurst
New Contributor

Hi, Please help! I have a model that i use daily to update a table and share it to ArcGIS Online to display as a dashboard to the public.  It creates a point feature class from my table that I update daily, then deletes and appends the data to an ArcGIS Online hosted feature layer. The model runs on command, and it ran for months with the Schedule tool from about February 2024-January 2025. It stopped unexpectedly running as scheduled and I get an error message now when I try to run it from the schedule, but it works just fine if I simply run the model from the ModelBuilder window. 

What should I do? I like the schedule tool and I want it to work again. I attached files showing the model, the python script for the model, a screenshot showing the messages generated when the model runs successfully from the ModelBuilder window, and a screenshot showing the messages generated when the scheduled tool fails. 

Any tips are appreciated! My IT does not think this is a user access or Windows Task Scheduler issue.

0 Kudos
1 Solution

Accepted Solutions
SadieWhitehurst
New Contributor

@Brian_McLeer @BBicking1 

Thank you both for your help- I was able to fix my issue by completely rebuilding the model. The only thing I changed was designating parameters in the model before I scheduled the tool. I'm not sure why it worked after rebuilding from scratch, except that maybe the new ArcGIS pro update made the model unusable. All is good now with the scheduling tool!

View solution in original post

4 Replies
Brian_McLeer
Frequent Contributor

Would changing this to True change the results at all?

Brian_McLeer_0-1742919808404.png

 

Brian
0 Kudos
BBicking1
Esri Contributor

Hello Sadie,
if you haven't already. please check the feature service right after the scheduled run to see if the rows may have been deleted after all. A suspicion is that the issue is with Append and the feature service --- only a suspicion at this time. There's ongoing work on Append with feature service input.

That's why it's also helpful if you please provide the version of ArcGIS Pro you're running.

And, please take a few minutes and reflect what changes may have occurred since January on your machine and/or the network you're on.

An additional request: 

The doc for 'Error 160236' https://prostg.arcgis.com/en/pro-app/3.3/tool-reference/tool-errors-and-warnings/160001-170000/tool-... has a feedback link requesting details on your case. If you decide to send us feedback---which we will very much appreciate---do include a link to this, your question.

Yes , that's a bunch of requests. The more detail we have, better we can assess why the fail occurs where it occurs. 

0 Kudos
SadieWhitehurst
New Contributor

@Brian_McLeer @BBicking1 

Thank you both for your help- I was able to fix my issue by completely rebuilding the model. The only thing I changed was designating parameters in the model before I scheduled the tool. I'm not sure why it worked after rebuilding from scratch, except that maybe the new ArcGIS pro update made the model unusable. All is good now with the scheduling tool!

BBicking1
Esri Contributor

Hello Sadie,

that's great news. Thanks for sharing!

0 Kudos