laptop and a wrench

Bug

The Stop tool in ModelBuilder stops iteration even when mulitple inputs do not meet the specified condition.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM067700
SubmittedApril 29, 2011
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.1
Version Fixed10.1
StatusFixed

Workaround

1. Add a MultiValue String Variable to the model.2. Set the inputs to the MultiValue variable equal to inline variables from the Boolean variables that are to be evaluated.3. Use the Calculate Value Model tool to evaluate the MultiValue variable for whether all values are true, all values are false or a mixture of both. Below is an example of an expression that can be used for this: def getBool(multiValue): boolList = multiValue.split(";") boolSet = set(boolList) if len(boolSet) == 1: return boolList[0] == "true" else: return False

Steps to Reproduce

Bug ID: NIM067700

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options