BizTalk Server Orchestration - Renaming a message filename in an orchastration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2004 > Renaming a message filename in an orchastration





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 Renaming a message filename in an orchastration
morgana@nospam.amerinetcentral.org

2004-11-05, 5:48 pm

Hi All

I'm trying to set a filename of a message in an orchastration. The
message was generated, so it has no source name. I ran across an post
on the web a few weeks ago, but can't find int agaim. It had a very
simple solution using an expression shape to set the message filename
properties. Then the send port was set using %SourceFileName%.

Has anybody sean this?

Thanks


Greg Forsythe

2004-11-07, 2:46 am

Just set the property BTS.ReceivedFileName on the output message.

outputmessage(BTS.ReceivedFileName) = "newfilename.txt"

Greg

<morgana@nospam.amerinetcentral.org> wrote in message
news:qqvno05kucsf8u59li6p11mha4b10a2fdc@
4ax.com...
> Hi All
>
> I'm trying to set a filename of a message in an orchastration. The
> message was generated, so it has no source name. I ran across an post
> on the web a few weeks ago, but can't find int agaim. It had a very
> simple solution using an expression shape to set the message filename
> properties. Then the send port was set using %SourceFileName%.
>
> Has anybody sean this?
>
> Thanks
>
>



morgana@nospam.amerinetcentral.org

2004-11-11, 5:49 pm

Can I only do this to a created message in a constructor block?

I cannot find the BTS.ReceivedFileName object, all I find is the
FILE.ReceivedFileName object, is this the same?

Thanks


On Sun, 7 Nov 2004 20:18:05 +1300, "Greg Forsythe"
<greg.forsythe@unisys.com> wrote:

>Just set the property BTS.ReceivedFileName on the output message.
>
>outputmessage(BTS.ReceivedFileName) = "newfilename.txt"
>
>Greg
>
><morgana@nospam.amerinetcentral.org> wrote in message
> news:qqvno05kucsf8u59li6p11mha4b10a2fdc@
4ax.com...
>


Greg Forsythe

2004-11-12, 8:46 pm

Yes, you need to do this in a MessageAssignment shape in a ConstructMessage
block

Apologies, the correct property is FILE.ReceivedFileName.

Greg

<morgana@nospam.amerinetcentral.org> wrote in message
news:thl7p09onj8m89khnf57ti0f1sb2l4me3d@
4ax.com...
> Can I only do this to a created message in a constructor block?
>
> I cannot find the BTS.ReceivedFileName object, all I find is the
> FILE.ReceivedFileName object, is this the same?
>
> Thanks
>
>
> On Sun, 7 Nov 2004 20:18:05 +1300, "Greg Forsythe"
> <greg.forsythe@unisys.com> wrote:
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com