Hello all,
So, I have this model, and so far, it runs pretty well (rare anomalous failure here and there).
However, because of updates to the source data I need to get this model to run with an "If Field Exists" logic. Basically, I want the model to iterate though some feature classes, and if a field exists, I want it to calculate another field and continue on with the downline processes. If the field does not exist, I want the model to add the field, then calculate the field and continue on with downline processes. I've set both True and False as preconditions for the processes I want them to carry out, but nothing downline will validate.
And if I try to reconnect the output (i.e. "Selections") to the "Add Field" tool, the model will validate but will generate an empty output because all the Inputs are not current.
I'm lost in the sauce over here. Please help! Thank you!
To clarify, you want to check if FieldA exists, then calculate it if it does, OR add, then calculate it?
Doesn't Field Calculator just create the field if it doesn't already exist?