sending individual messages to next thread

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf sending individual messages to next thread

  • Creator
    Topic
  • #53994
    SREEKANTH CHANDIKA
    Participant

      I am trying to write a script  that reads XML Message as below which have multiple records within the  tags. This script filters records with status as

    Viewing 1 reply thread
    • Author
      Replies
      • #79801
        Jim Kosloskey
        Participant

          You could do this in the Xlate using SUPPRESS and CONTINUE then no Tcl would be needed.

          If you just have to use Tcl then you will need to do a msgcopy to create a new copy of the message to get your second copy.

          The your displist would have the handles of both copies. Copying is generally better that msgcreate I think because you won’t need to set all the Metadata you will just use what was in the original message as most of the time that is what you want.

          Again – much easier in my opinion done in an Xlate.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #79802
          SREEKANTH CHANDIKA
          Participant

            Thanks for your suggestion.I have no issues using xlate.Though i create a copy of message or new handle , once i return a message it passes on to the next thread and control never returns back to send the remaininig messages.So effectively i can send only one messages out of my proc.I donot want to append all the messages to the dispList and send them at once rather send individual messages as mentioned in last mail.

            Any inputs highly appreciated 🙂

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