ArcGIS Pro 2.6.3 Scheduler: Schedule a tool to run after another tool successfully runs

503
2
Jump to solution
12-09-2020 11:14 AM
RossCBrewer
New Contributor III

Using ArcGIS Pro 2.6.3's scheduler functionality, is it possible to schedule one tool to run immediately after a different tool successfully finishes?

*I'd prefer not to schedule these tools by time (seemingly the only option) because tool1 can take anywhere from 1 to 2 hours, and tool2 is deleting duplicate records from tool1, which could result in inaccurate data during the gap between the tools.

0 Kudos
1 Solution

Accepted Solutions
RobertKacir
New Contributor II

My recommended solution would be to create a model with both tools in it specifying the execution order. You can then schedule a single model instead of a two different tools. In model builder if the first tool fails, the second tool will not execute.

View solution in original post

2 Replies
RobertKacir
New Contributor II

My recommended solution would be to create a model with both tools in it specifying the execution order. You can then schedule a single model instead of a two different tools. In model builder if the first tool fails, the second tool will not execute.

View solution in original post

BenCoubrough
Esri Contributor

Hi @RossCBrewer I'd also recommend what Robert has suggested by using the ModelBuilder.

If you haven't built a model before you can follow this great tutorial which shows you how to build a geoprocessing model to automate a workflow.

Make a geoprocessing model - https://pro.arcgis.com/en/pro-app/get-started/make-a-geoprocessing-model.htm 

Schedule a model - https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/scheduling-a-model-run.ht... 

Schedule geoprocessing tools - https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.ht...