Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 26th, 2003, 06:07 AM
Registered User
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default one rec function for multiple formats

How can I create a single rec function to pick *.txt files which can be of two seperate formats and process them.
Old August 27th, 2003, 04:26 AM
Registered User
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to reddynet

Well there is now direct functionality to do this..., However you can acheive this using Orchestration...
1) Pass the Raw data(Un Validated) to Orchestration Shedule, Use Submit with pass-through flag to achieve this.

2) In Orchestration Shedule Check if the incomming format is of what type.. (i.e FORMAT1 OR FORMAT2..), Use simple WScript of COM Component to achieve this..

3) Based on Return type from your Component or Script (i.e. say 0 for FORMAT1 AND 1 FOR FORMAT2) route to different channels...

 Hope this helps you...

 "Personally I would not Prefer this method as this would be Consuming lot of resources, when your talking of thousands of documents per day.
     Better way would be to put different format files in different directories and process through different rec functions, also would be avoiding unexpected errors from your Script or Component"

  Happy Bizzing..

Old August 28th, 2003, 01:42 AM
Registered User
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

If we will use submit with pass thru flag then we will have to specify channel in rec. function. But one channel can only handle one type of format. Is there any other solution.

Similar Threads
Thread Thread Starter Forum Replies Last Post
IIf Function - Multiple conditions carrie09 Access 2 June 13th, 2007 10:27 AM
How to? Copy rec to new tbl then del old rec LearningACCESS Access VBA 13 March 6th, 2007 11:56 AM
Multiple function in submit button sougataroy BOOK: Beginning ASP 3.0 2 August 16th, 2006 06:30 PM
Passing multiple arguments to function zarikiane XSLT 2 July 18th, 2006 09:35 AM
Urgent rec navigation problems shelbygt22 Access VBA 1 March 18th, 2005 12:59 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.