web stats
Alert emails based on custom script - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2014, 03:58 AM
kakapurinaveen kakapurinaveen is offline
What's HL7?
 
Join Date: Sep 2012
Posts: 1
kakapurinaveen is on a distinguished road
Default Alert emails based on custom script

Is it possible to send alerts on a specified intervals for a particular channel if it receives a disconnect response.

Or is it possible to disable an alert after it sends a disconnect email for a monitoring channel. Later when the channel is able to connect it again sends email that now the channel is up. This way instead of sending 1000 of emails for every attempt it would just send two.
Reply With Quote
  #2  
Old 05-29-2014, 07:13 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road
Default

Yes, that's definitely possible with Advanced Alerting. On your action group you can set a wait period so that even if the alert is being hammered with error events, it will only perform the action (e.g. send an e-mail) once, and a second action will only be performed after the wait period has elapsed.
__________________
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
Reply

Tags
alert, emails

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation