BizTalk Server Orchestration - MessageID from Orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > April 2004 > MessageID from Orchestration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MessageID from Orchestration
Michael

2004-04-14, 11:41 pm

I'm using the file adapter with the %MessageID% macro for filenames.

How do I get to this MessageID from an Orchestration?
Can I get to the MessageID from an expression shape, if so how?

Thanks,
Matt Milner

2004-04-15, 7:44 pm

In an expression shape use something like the following where myvar is a
string variable you have defined in the orchestration or scope and MyMessage
is the message whose ID you want to get.

myvar = MyMessage(BTS.MessageID);

There have been some threads around this that indicate you might want a
different id depending on what you are doing, but if you want the id of the
message going out (the one that will be used in the file system, then I
think this will give you that).

Matt


"Michael" <anonymous@discussions.microsoft.com> wrote in message
news:920A20E6-9A41-4540-8084-74142620ED09@microsoft.com...
> I'm using the file adapter with the %MessageID% macro for filenames.
>
> How do I get to this MessageID from an Orchestration?
> Can I get to the MessageID from an expression shape, if so how?
>
> Thanks,



Michael

2004-04-18, 11:34 pm

Thanks Matt,

Tried that with no luck, the following is an outline of my scenario.

I have a send shape of type OutBoundMessage, OutBoundMessage type is defined as Schema1. The send shape is
connected to a send port with Schema1 as its message type. I have an expression shape after the send shape where I set an orchestration parameter as follows MessageID = OutboundMessage(BTS.MessageID)

I'm getting a totally different GUID from the file name.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com