| Neal Walters 2005-05-23, 5:53 pm |
| Is the receipt port going to be an "Activating Receive", i.e. is it going to
start a new orchestration? If so, the data will already be read from the
file (consumed) before it gets to your orchestration.
If it not an activating receive, then you have correlation or convoy
scenario? I haven't used these much, but maybe you could make the port
dynamic???
We have had several cases where a file is read from a receive port, then
starts an orchestration. In the orchestration, we want to right it out to a
directory that has a pattern similar to the name of the input directory. For
example, if input was C:\Biztalk\WatchesIn the output would be
c:\Biztalk\WatchesOut, if the input was C:\Biztalk\DiamondsIn, the output
would be C:\Biztalk\DiamondsOut.
You can make send ports dynamic so that the directory (path-name) can be
determined from the orchestration. I don't know if the same thing works for
Receive Ports.
Neal Walters
http://Biztalk-Training.com - Biztalk Training Videos
"Garfield" wrote:
> My current project requires me to pick-up files based on a numerical value of
> a field in the message that I am currently processing within an
> orchestration. This value represents the folder from which the contents are
> to be copied to another folder location which is known.
>
> The orchestration will be a pass-thru to move the files from one folder
> location to another.
>
> How can I create an Address URL using the field value as the source folder
> and direct the receive location to go there to pick up the files?
>
> e.g field value = 4500945, the Address URL would be \\HGYHI809\Data\4500945\*
|