|
Home > Archive > BizTalk Server Orchestration > August 2005 > Prepend FILE.ReceivedFileName in 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 |
Prepend FILE.ReceivedFileName in Orchestration...
|
|
|
| Hello All,
I have an orchestration that accepts Message A. I do some stuff, and then
construct a new message, Message B. I want Message B to have the same name
as Message A but with some extra characters PREPENDED to it. This doesn't
seem to work.
I have tried assigning the Message A receivedfilename into a string and then
using that string to name Message B. Every path I have taken results in my
prepend characters not being added. I can add chars to the end of the name
and it keeps it just fine. But no matter what I do, it discards my prepended
char names.
On my send port, I use %SourceFileName%_%MessageID% for naming the files. I
know my orchestration code is being executed because of the chars added to
the end. Any ideas on why this would fail or any ideas on how to get around
it?
Thanks for any input you may have!
Michael
| |
| Stephen W. Thomas 2005-07-28, 5:52 pm |
| Hello.
Can you post how you are pre-pending the string? Or you could send me your
Orchestration and I could take a look at it. Send it to
swthomas@NOSPAMbiztalkgurus.com – just remove the NOSPAM part.
I am guessing it is a reference problem with your variables.
Hope this helps.
Stephen W. Thomas
http://www.biztalkgurus.com
"Mike" wrote:
> Hello All,
>
> I have an orchestration that accepts Message A. I do some stuff, and then
> construct a new message, Message B. I want Message B to have the same name
> as Message A but with some extra characters PREPENDED to it. This doesn't
> seem to work.
>
> I have tried assigning the Message A receivedfilename into a string and then
> using that string to name Message B. Every path I have taken results in my
> prepend characters not being added. I can add chars to the end of the name
> and it keeps it just fine. But no matter what I do, it discards my prepended
> char names.
>
> On my send port, I use %SourceFileName%_%MessageID% for naming the files. I
> know my orchestration code is being executed because of the chars added to
> the end. Any ideas on why this would fail or any ideas on how to get around
> it?
>
> Thanks for any input you may have!
>
> Michael
>
| |
| Stephen W. Thomas 2005-08-01, 8:48 pm |
| Hello.
I posted a sample of how to append and prepend text to the
File.ReceivedFileName property. You can find the sample here:
http://www.biztalkgurus.com/Samples...hestration.html
Hope this helps.
Stephen W. Thomas
http://www.biztalkgurus.com
"Stephen W. Thomas" wrote:
[vbcol=seagreen]
> Hello.
>
> Can you post how you are pre-pending the string? Or you could send me your
> Orchestration and I could take a look at it. Send it to
> swthomas@NOSPAMbiztalkgurus.com – just remove the NOSPAM part.
>
> I am guessing it is a reference problem with your variables.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
>
>
> "Mike" wrote:
>
|
|
|
|
|