I created some simple model builder to breakout data into layers by status. But when I ran the model this morning, I received no errors and it created the layers. BUT the output layers has all the data, the "Select Layer by Attribute" did not capture the statuses I had selected to pull over for each layer? NO error message given, ran like it normally does but the results are wrong?
Has something changed with the Model Builder?
Solved! Go to Solution.
Could you check these obvious steps?
Close all ArcGIS Applications and restart your system. Open ArcGIS Pro, and run the model again.
You need to add preconditions.
First Output should be a precondition for second step (Select Layer by Attribute).
Second Output should be a precondition for third step (Select Layer by Attribute).
This will ensure the second selection starts only after the first output is created.
Thanks for the response JayantaPoddar! But I am confused I have ran these models for years and have never had this issue......is this something new that is required? I added preconditions (not sure if I did this correctly) but I'm still getting the same result......pull all the data into the new layers?
Could you check these obvious steps?
Close all ArcGIS Applications and restart your system. Open ArcGIS Pro, and run the model again.
I was pulled off this for a few days, so after being out of the application. I ran the models again this morning. They are all working perfectly just as they were originally, no changes. Guess it was some kind of clinch in the system. Thanks!
When you look at the table for the output RRI_NP.shp does it include just the records you would expect (I.E. just those that match your IN ('OUT-PUGH','PAID UP') query? If so, check if the field you are symbolizing on in the TOC contains a domain. In my experience sometimes all domain values get a symbol even if they are not represented in the table.
Just experimenting very quickly the only way I have found to suppress using all Domain values is if you choose "Unique Value" as your symbology type is by writing a custom Arcade script to limit it (below). But there has to be a switch somewhere. Maybe just delete the domain from the output layer.