Originating Thread name availability in Xlate

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Originating Thread name availability in Xlate

  • Creator
    Topic
  • #53854
    Alex Puzikov
    Participant

      Hi All.

      I need to identify message originating thread name from within xlate to perform specific action on the message.

      Does anyone know how to accomplish that?

      Thanks,

      Alex

    Viewing 1 reply thread
    • Author
      Replies
      • #79192
        Charlie Bursell
        Participant

          aet srcThd [xpmmetaget $mh ORIGSOURCECONN]

        • #79193
          Alex Puzikov
          Participant

            Thank you Charlie.

            I had to modify your code a little to work as xltp fragment

            so I am re-posting it for other people benefit.

            Code:


            { { OP COPY }
               { ERR 0 }
               { PRE {
                   set srcThd [xpmmetaget $xlateId ORIGSOURCECONN]
                   set xlateOutVals [list $srcThd]
               }}
               { IN @null }
               { OUT @originatingSystem }
            }

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