Originating Thread name availability in Xlate

Homepage 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.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10