Solved! Go to Solution.
Typically you would use the Test tool or the Message tool to have a error, but it sounds like you don't actually want an error. It sounds like you want to ignore those records silently and keep processing.
It would be fairly straightforward to use a filter tool. You will need to join the record count on to the data stream to filter on it - I used an append fields tool. On the false side I would add a Message tool to issue a warning to the output log that an input was skipped.
I put together a quick demo of what I mean in case its not clear. It was be easy to convert this to a macro if that's an operation you would commonly use.
https://www.dropbox.com/s/xg7dsts9s8sdgxf/SkipBasedOnTotal.yxmd?dl=1