Alert type: last send * only firing approx. once a day *

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Alert type: last send * only firing approx. once a day *

  • Creator
    Topic
  • #53188
    Rien Vlietstra
    Participant

      Dear Colleagues,

      Does anyone have an idea how to set a ‘last send’ alert type properly?

      For this moment I tried the following:

      1. Choose alert type: ‘Last Send’

    Viewing 6 reply threads
    • Author
      Replies
      • #76858
        Charlie Bursell
        Participant

          Is this a TCP/IP thread?  Chances are you may be resending in which case the last sent will not fire.

          I suggest, even for an outbound thread, you use Last Received Alert instead.  The Last Received Alert will tell you when the last “SUCCESSFUL” send was.  In other words you sent a message and got a reply.

        • #76859
          Gordon Koch
          Participant

            I would like to expand on this question, as I have a similar issue. I am trying to put a last send or receive alert for message flow on an intermediary thread that receives charges once a day at a specific time. I have an inbound thread that recieves a file, and the intermediary thread breaks it up into separate HL7 messages. The intermediary thread then sends the messages along to a common or shared outbound thread for the charge (DFT) messages. I did reach out on the forum before, and received tcl procs to check for the file itself. I was just wondering if this could be done just via the Alert functionality.

            Thank You.

          • #76860
            Russ Ross
            Participant

              Rien:

              You might want to check out what I implemetned to send out an alert if a thread encounters my specified resend count thresholds:

              <a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=1862&#8243; class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1862

              <a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=4212&#8243; class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=4212

              I’ve been pretty happy with it becuase it doesn’t generate false alerts and works even if the que depth is only one message like late at night.

              Think about it, if you are resending a message you are headed for trouble no matter what the reason.

              I came up with this approach to alert me quicker than the other methods I had used and it doesn’t generate pesky false alerts.

              Russ Ross
              RussRoss318@gmail.com

            • #76861
              Russ Ross
              Participant

                Rien:

                If you are happy with your alert and just want it to fire more than once a day there is a quick simple partial solution we use to handle that situation.

                Most alerts only fire once in the desginated window which sounds like an entire day in your case.

                To reset the alert before that time is concluded schedule in cron to touch the $HCISITEDIR/Alerts/default.alrt file and that will reset your alerts for that site.

                We touch all our defalut alert files in all our sites hourly during the day from 7AM-7PM, which has been a good balance for us.

                Russ Ross
                RussRoss318@gmail.com

              • #76862
                Rien Vlietstra
                Participant

                  Charlie Bursell wrote:

                  Is this a TCP/IP thread?

                • #76863
                  Rien Vlietstra
                  Participant

                    Russ Ross wrote:

                    Rien:

                    If you are happy with your alert and just want it to fire more than once a day there is a quick simple partial solution we use to handle that situation.

                    Most alerts only fire once in the desginated window which sounds like an entire day in your case.

                    To reset the alert before that time is concluded schedule in cron to touch the $HCISITEDIR/Alerts/default.alrt file and that will reset your alerts for that site.

                    We touch all our defalut alert files in all our sites hourly during the day from 7AM-7PM, which has been a good balance for us.

                    Thanks Russ, I will study this in more detail.

                    Bye for now,

                    Bert (colleague of Rien)

                  • #76864
                    Rien Vlietstra
                    Participant

                      Charlie Bursell wrote:

                      Is this a TCP/IP thread?

                  Viewing 6 reply threads
                  • The forum ‘Tcl Library’ is closed to new topics and replies.