BizTalk Server Orchestration - Move files depending on date

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2005 > Move files depending on date





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 Move files depending on date
Luis Esteban Valencia Muņoz

2005-06-10, 5:51 pm

I have an xml file like this


<order>
<date>
<year>2005</year>
<month>05</month>
<day>07</day>
</date>
<orderid>56</orderid>
....

</order>

I have fodlers on my file server

year
month
day

and I want to move them there depending on the date tag

Any hints please


Scott Colestock

2005-06-14, 5:55 pm

You could use an orchestration with xpaths (or distinguished fields) into
the doc to build up the destination file path, and then set that on a
dynamic send port.

In an expression shape, you would do something like:
MyDynamicPort(Microsoft.XLANGsBaseTypes.Address) = (your path built up from
distinguished fields)

Scott Colestock
www.traceofthought.net


"Luis Esteban Valencia Muņoz" <levalencia@avansoft.com> wrote in message
news:%23LbTHtgbFHA.2984@TK2MSFTNGP15.phx.gbl...
>I have an xml file like this
>
>
> <order>
> <date>
> <year>2005</year>
> <month>05</month>
> <day>07</day>
> </date>
> <orderid>56</orderid>
> ....
>
> </order>
>
> I have fodlers on my file server
>
> year
> month
> day
>
> and I want to move them there depending on the date tag
>
> Any hints please
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com