Select to view content in your preferred language

Is it possible to run just one group in modelbuilder

2660
4
05-09-2023 10:13 AM
Labels (1)
PLadd
by
Frequent Contributor

I have created 4 groups within a model in ArcGIS Pro and I need to test the tools in just one of the groups.  Is it possible to run only 1 group on a model? 

I noticed when I run the model with just one group selected, the order of operations seems to jump around between groups and I'm guessing it's because of the order in which these objects were dropped onto the model palette (I have no precondition parameters).  

 

0 Kudos
4 Replies
DanielFox1
Esri Contributor

Hi @PLadd 

The best way is to remove the input link to the other groups in your model this will allow you to test the one model you need. Alternatively, have a separate model builder tab/workspace with this one model. 

If you have other groups that feed into each other I would recommend preconditions to ensure all your models run in an order. 

0 Kudos
PLadd
by
Frequent Contributor

Thanks for the reply @DanielFox1 .  Can you clarify what this means?  "remove the input link to the other groups"  I don't have any connectors between the group, if that's what you mean.  See image below showing 2 of the grouped models in the model tool.  Thanks.

PLadd_0-1683737631796.png

 

0 Kudos
DanielFox1
Esri Contributor

Hi @PLadd 

In the screenshot you provided if you only want to run the group/model on the left then with the group/model on the right remove the input at the start and reconnect when needed. You can see in my example the greyed out workflow as the initial connection has been broken.

DanielFox1_0-1683815409526.png

I have included below a document which refers to setting a model parameter order, it was written for ArcDesktop so is slightly outdated but may still assist with any future work you are conducting.

6-Setting model parameter order

I hope this clears up what I meant in my previous message.

0 Kudos
PLadd
by
Frequent Contributor

I am finding that selecting the last Geoprocessing tool in the group, right-clicking and choosing Run works best for me.  This will run all of the tools in the group above it and allow me to test just the tools within that group.