Select to view content in your preferred language

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

06-29-2023 09:37 AM
Labels (1)
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:


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