If Exists in Model Builder

603
0
12-18-2019 10:34 AM
EddyClark
Occasional Contributor

Using Model Builder because tracing a geometric network in python is a pain.  I have three feature classes (Switch, Fuse, Breaker) that all contain the field name [FacilityID].  None of the rows contain duplicate FacilityID values throughout all three feature classes.  I want users to be able to enter a parameter value (i.e. S1234) and have model builder check if the row exists before going through the rest of the model. 

If the [FacilityID] = 'S1234' does not exist in the Fuse feature class, do nothing.  If [FacilityID] = 'S1234' exists in the Switch feature class, proceed with the rest of the model.

0 Kudos
0 Replies