How to receive an alert when certain message type is found

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to receive an alert when certain message type is found

  • Creator
    Topic
  • #49079
    Matt Estrella
    Participant

      Hello All,

      I have an application that cannot handle A40’s and A44’s. We are using v5.3 running on Windows 2003.  I would like to set up a process that would alert a user (via email) when an A40 and A44 message is encountered.  The contents of the email; message information, etc, is to be emailed tothe user.

      Is this possible?

      Thanks,

      Matt

    Viewing 2 reply threads
    • Author
      Replies
      • #60681
        garry r fisher
        Participant

          Hi,

          I would have thought so. I can think of a number of ways of doing it using alerts or not.

          Using alerts you could route your unwanted message to a file and alert on filechange – I think that’s what it is meant for.

          The other method is just to generate an email from a tclproc when you get the unwanted message.

          Does that help?

          Garry

        • #60682
          Bryan Dort
          Participant

            I am also running on that same environment.  For email alerts, I use a freeware email utility.  Attached is a tcl that should be modified for your email environment and the message that you want to send.  You could add it to the TPS Inbound Data to filter those A40 and A44 messages for all inbound, or you could use it as a route pre-proc.  You have to pass it the user args for the bad message types as {MSGTYPES {ADT_A40 ADT_A44}}. (Standard disclaimer…use at your own risk…test thoroughly.)

          • #60683
            Matt Estrella
            Participant

              Bryan,

              Thanks ! It works fantastic. I made a few modifications so that the message will continue regardless of type.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.