Kill a Message in a IF Statement

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Kill a Message in a IF Statement

  • Creator
    Topic
  • #48368
    Galen Weinberg
    Participant

      Is there any way to kill a message if our IF statement in our translation is true or false, depending on what you are testing for. I’m trying to see if a PID 2 segment is there, then I want that message if not I want to kill it. I’m have trouble making this work, any suggestions.

    Viewing 0 reply threads
    • Author
      Replies
      • #58424
        Mark Thompson
        Participant

          Galen,

          It is more effecient to use Tcl code to kill the messsage before it gets to translation.  If you don’t want to mess with Tcl code, add a statement like

          IF PID-2 eq @null then SUPPRESS

          to your translate.

          - Mark Thompson
          HealthPartners

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