If Get Count Returns Empty, Write 0 and Continue Running in ModelBuilder

322
0
06-29-2023 09:37 AM
Labels (1)
KathrynWesson
New Contributor III

I'm using ModelBuilder to perform a set of queries on a feature class, and count the number of records output from those queries using the "Get Count" tool, then write the counts to a table. This is my current model:

KathrynWesson_1-1688056211846.png

How do I get ModelBuilder to write "0" when Get Count returns empty, and also make the model continue running through the rest of the queries? I feel like there is a very simple solution that I'm completely missing...TIA for any help!

0 Kudos
0 Replies