Question about BiztalkGurus – SampleEnvelopes Project

Home Page Forums BizTalk 2004 – BizTalk 2010 Question about BiztalkGurus – SampleEnvelopes Project

Viewing 1 reply thread
  • Author
    Posts
    • #14039

      I’ve installed and run Stephen’s SampleEnvelopes project that show how to \”de-batch\” just using an envelope schema.

      What I do not understand, is how the BatchId in the incoming message knows to get moved to the Batch in the other message. The element names are different. What’s the secret?

      Thanks,
      Neal

      • #14040

        Also do you have to have the element \”Record\” above \”Message\” in the envelope schema (I’m going to read the Biztalk doc now).

    • #14038

      I have it defined as a promoted property in the Envelope so it gets put into the message context. Then, I demote it in the outbound schema. You can demote to any field you want, you just set it in the schema.

      I you use the Pass Through pipeline on the send side, you will not see the values demoted.

      Something else to note, if you do not have the promoted items in your Envelope Schema they will not get promoted. So if they were defined in a schema that was used into the <any> tag it wouldn’t work. Hope that makes sense.

      Also remember when working with envelopes you define the Body XPath one level above what you want to break out.

      Hope this helps.

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