Stop (ModelBuilder)

Summary

For the set of input values, iteration will continue if all the inputs are true and stop if any one of the inputs is false. It is functionally similar to the While iterator but is useful to stop a model if there is one While Iterator in a model and no additional iterators can be added.

Learn how Stop works in ModelBuilder

Usage

  • This tool is intended for use in ModelBuilder and not in Python scripting.

Syntax

Stop(in_values, {condition})
ParameterExplanationData Type
in_values
[in_value,...]

Input values to check whether to stop the model iteration.

Multiple Value
condition
(Optional)

Choose True of False to set the condition.

  • TRUE Iteration will run until all the input values are True. This is the default.
  • FALSE Iteration will run until all in input values are False.
String

Derived Output

NameExplanationData Type
continue

The continue value will be true if all inputs are True, and false if any of the inputs are False.

Boolean

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes