0

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.

4

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 man – MSS Apr 25 '16 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.