Edit message multiple times in orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Edit message multiple times in orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #14874

      Hi,

      I have an orchestration and send and receive messages. When i receive a message, i want to change the original message.

      On the next step i want to send the original message. When i receive a answer i want to change the original message.

      The problem is when i edit the message in the construct Message, i get the message

      use of unconstructed message ‘SF_Message’

      How can i solve this? Do I need a lot of messages, or can i use the same on a way?

      Please Help me

    • #14873

      Messages are immutable, so to change a message, you have to ‘clone’ it and modify the new message (in a construct/message-assignment shape).

      myMessage2 = myMessage1;
      myMessage2(*) = myMessage1(*);
      myMessage2.ChangedField = \”NewValue\”;

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.