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.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Apr 25, 2016 at 10:56

1 Answer 1

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
answered Apr 25, 2016 at 11:56
1
  • The "get count" tool seems to do the trick by itself! Thanks man Commented Apr 25, 2016 at 13:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.