web stats
Mirth Community - View Single Post - Email alerts only after retires complete
View Single Post
Old 05-25-2018, 08:31 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road

One thing you could do is only check "User Defined Transformer" in your alert errors. Then edit your response transformer, set the data types to Raw (so that it'll execute all the time even when there's no response payload), and manually send an alert:

if (responseStatus != SENT) {
	alerts.sendAlert($('responseStatusLine') + '\n' + responseErrorMessage);
Then you can include the ${error} variable in your alert template.
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote