Is there a simple way of making ArcGIS stop if the following message comes up after "copy rows" have finished (see picture); enter image description here
Executing (Copy Rows (4)): CopyRows QueryTableB_cx C:\Users\fmromss\Documents\ArcGIS\Default.gdb\QueryTable_CopyRows2_cx Start Time: Mon Apr 25 12:40:25 2016 WARNING 000117: Warning empty output generated. Succeeded at Mon Apr 25 12:40:25 2016 (Elapsed Time: 0,38 seconds)
It would be quite neat if It did not export it to excel if theres not any actual data.
Bear in mind this is just a small part of the model hence I dont want the entire model to stop, just this process.
1 Answer 1
One option would be:
- Use Get Count tool on query result table and assign result of tool to a variable
- Then, use if-then-else Branching logic to check if variable is greater than 1 or not
-
The "get count" tool seems to do the trick by itself! Thanks manMSS– MSS2016年04月25日 13:40:25 +00:00Commented Apr 25, 2016 at 13:40
Explore related questions
See similar questions with these tags.