I have recently implemented a new feed that routes eMDs charges to Aprima for one of our offsite providers. The problem that I run into is eMDs is sending up to 30-40 blank messages per day. These messages do not hurt anything. The engine catches them and errors them out, so Aprima does not see any of them. I’ve verified that we get complete records into Aprima as well. The one thing this does affect is my error reporting. My error rates have jumped due to this.
So how can I filter off these bad messages before they throw a tcl error? Should I wrap my entire tcl script in an if statement?
if { string length $msg > 0 } {
run script
} else {
kill message
}
Is there an easier way to do this? I haven’t encountered blank messages like this before.
Thanks in advance.