|
|
||||||
|
#1
|
|
|
|
|
Hi all,
I have an orchestration that processes a flat file. The flat file schema breaks the interchange into individual messages. Once all of the parts have been processed I want another orchestration to start another process. As the batch process creates many instances of the orchestration to process each of the messages contained in the interchange I cannot from within that orchestration determine when the last Item have been processed. Thanks in advance, Jim |
|
|
|
#2
|
|
|
|
|
For interchanges, we create properties on each message for the
InterchangeID and a sequence number for ordering, but we don't have a TotalNumberOfMessages property or a LastMessage property. There is a way to accomplish your scenario below, though. You can use a PassThru pipeline inbound and simply have an orchestration subscribe to any messages from this receive port. Then in this orchestration, you can programmatically call a receive pipeline with a FF DASM to process the flat files and break apart the interchange. This will return a collection of messages from the interchange, which you can then process individually and synchronously. From this stateful orchestration instance, you'll know when all are finished processing and can then kick off other processing. Here is more information about the new 2006 feature to call pipelines from orchestration: [url down] ping/html/f947fa73-526c-4747-8de7-df557a93056c.asp It's very easy to use. HTH, Doug Girard [MSFT] Note: This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- >Newsgroups: microsoft.public.biztalk.general,microsoft.public. biztalk.xlangs,microsoft.p ublic.biztalk.orchestration >Subject: Informing an orchestration when a batch orchestration job has completed >From: ee >Date: Mon, 22 May 2006 19:34:16 GMT >X-Newsreader: News Rover 8.2.2 ([..]) >Lines: 10 >Message-ID: <44721148$0$32416$c3e8da3> >Organization: Unlimited download news at news.astraweb.com >NNTP-Posting-Host: bdf852d2.news.astraweb.com >X-Trace: DXC=f7mo<Z3SFVKTE2gdJ]P=SGL?0kYOcDh@JfGmH5DS7o9NQ_O[7;hhF]OLP[J25N7G2LOWE9V@ 7a<NCGj6U\fRI@>G >Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFT FEEDS01.phx.gbl!newsfeed.c w.net!cw.net!news-FFM2.ecrc.de!newsfeed.gamma.ru!Gamma.RU!newsfeed.i cl.net!n ewsfeed.fjserv.net!nx02.iad01.newshosting.com!news hosting.com!newshub.sdsu.e du!news.astraweb.com!router2.astraweb.com!not-for-mail >Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.xlangs:1292 microsoft.public.biztalk.orchestration:14535 microsoft.public.biztalk.general:37721 [..] |
|
#3
|
|
|
|
|
Thanks Doug
Cheers, Jim |
|
#4
|
|
|
|
|
Possibly an approach would be to take in the document, and within the
orchestration, split the message and then after the loop through the messages, then do your post processing. Eric [url down] <ee> wrote in message news:8da3 [..] |
|
|
| Similar Threads | |
| Serialized orchestration instance during deployment new version of orchestration. Hi All, I have scenario where orchestration has a long running transaction that some times takes 15 day to complete. I have developed the orchestration and orchestration is... |
|
| Orchestration Completed with discarded Messages -Sequential Convey Hi All, I have an Orchestration which follows Sequential Convoy Pattern for Batching the Incoming Messages into a single batch file. When i test the Orchestration with more... |
|
| Informing an orchestration when a batch orchestration job has completed Hi all, I have an orchestration that processes a flat file. The flat file schema breaks the interchange into individual messages. Once all of the parts have been processed I... |
|
| Direct Binding from orchestration to a new instance of the same orchestration Hello, We have an orchestration (lets call it "RunOrch") which constructs a message, promotes some property by given parameters and sends it to the messagebox with direct... |
|
| Orchestration completed but message shows suspended( resumable) Hi All I am calling a webservice from an orchestation within a scope shape. Whenever the a web service connection error occur an exception is thrown and orchestration... |
|
|
All times are GMT. The time now is 04:32 PM. | Privacy Policy
|