Debatching in Orchestration

How can we perform debatching in orchestration ??
Please Give me any solution.
Prakash

Hi Morten,
I have the following scenario:
My input text file is as follows :
13120000117A|20140623|03-01-2014 TO 04-30-2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||04-12-2014|USD|21.25|CARD
13120000117B|20140623|03-01-2014 TO 04-30-2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||04-12-2014|USD|21.25|CASH
13120000117A|20140623|03-01-2014 TO 04-30-2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||04-12-2014|USD|21.25|CASH
I want this output after debatching :
One message for 13120000117A and one messge for 13120000117B.
When I debatch through flat file schema , I am getting three message :
two message for 13120000117A and one message for 13120000117B.
My condition is that if the value of first element is same in the entire flat file then it will create a single message for all ,otherwise it will create different message.
For grouping first element, I applied Muenchian Grouping and it is working fine.The main issue occures in debatching .
I have done the following things in my scenario :
First of all, my text file is converted into a another schema (let B)with the help of mapping where I used Muenchian Grouping in custom xslt then I map Schema B to IDOC. Its all working fine.
I am thinking if I apply debatching in orchestration after getting IDOC, it will work.
Is it possible ?If it is possible how can I get it ?
Prakash

Similar Messages

  • Xpath Debatching in Orchestration -The part 'part' of message 'Message_In_Copy' contained a null value at the end of the construct block

    Hi ,
    Facing strange issue in Xpath debatching in Orchestration.
    Getting following error in construct shape:
    The part 'part' of message 'Message_In_Copy' contained a null value at the end of the construct block
    Code inside the construct block:
    sXpath = System.String.Format("/*[local-name()='Customers' and namespace-uri()='http://Debatch.Customer']/*[local-name()='Customer' and namespace-uri()='http://Debatch.Customer' and position()={0}]", nLoopCount);
    System.Diagnostics.Debug.WriteLine(sXpath);
    Message_In_Copy= xpath(Message_In, sXpath);
    Schema used:
    <?xml version="1.0" encoding="utf-16"?>
    <xs:schema xmlns="http://Debatch.Customer" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://Debatch.Customer" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="Customers">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" name="Customer">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="xs:string" />
    <xs:element name="id" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    Can anyone help me out ? to identify the root cause for above issue.
    Thanks,
    Kind Regards,
    girsh
    girishkumar.a

    I agree with Shankycheil here, querying XPath will return XMLNode and thus can't be assigned to XMLNode.
    But for debatching in Orchestration using Xpath is not a very good idea. 
    Because using XPATH loads the complete message in memory(XML Structure) and then performs processing.
    This approach is always prone to throwing Out of Memory exception and low in performance also.
    Therefore I would suggest you to perform debatching by calling XML Disassembler(XMLReceive) pipeline.
    As pipeline works with Stream it will have better performance and you will also get complete control over the messages.
    Refer the below samples for debatching using XML Receive pipeline within Orchestration.
    Comparrison between XPATH and ReceivePipeline for Debatching:-
    De-batching within an orchestration using XPath or calling a pipeline
    Debatching within Orchestration using Pipeline-
    http://tech-findings.blogspot.in/2013/07/debatchingsplitting-xml-message-in.html 
    https://jeremyronk.wordpress.com/2011/10/03/how-to-debatch-into-an-orchestration-with-a-pipeline/
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • BizTalk Correlation in Orchestrations

    Hello All,
    I have a scenario in which in am calling an SP and it gives me a response. Now lets call the messagetype of Request Msg as Arequest and messagetype of Response Msg as Aresponse. There is a node in Arequest called ID. I am in innitialising a correlation in
    Orchestration for that ID while sending the data to SP. when I recieve the response from SP I check if it is a 1 or a 0 if it is a 0 I have a receive shape with a following correlation of ID and a different messagetype say Debatch. If I get a 1 from SP I call
    a view which will return a response with N number of ID. now I have to debatch for each ID to a messagetype debatch and then publish to the messagebox so that it can be subscribed by the dehydrated orchestrations (the receive shape that I was using for dehydration
    earlier!) I am able to do all this but after debatching the orchestration I am getting a routing failure error in BizTalk. When I check the subscriptions for the suspended orchestaration the subscriptions are 1. for the the ID and 2 for the messagetype as
    the root node of the debatched message.
    please help

    The send would been the result of some receive? you need to initialize on that receive and follow it up on the subsequent receive. That is how a "convoy" is created. A "convoy" is what will help you create the "order" that you
    want. A "convoy" can be sequential - same receive location or parallel - different receive locations and/or different message types. Refer
    https://msdn.microsoft.com/en-us/library/aa561967.aspx for Implementation Design Patterns in BizTalk,
    https://msdn.microsoft.com/en-us/library/aa561843.aspx for Sequential Convoys and
    https://msdn.microsoft.com/en-us/library/aa546782.aspx for Parallel Convoys.
    You correlate between a send (initialize) and receive (follow) when you want to correlate a request to a response over an ASYNC transport such as Queues.
    Regards.

  • Xpath xpresssion in OBR

    How to give expressions for OBR output.... Assume i have many inputs like 1,2,3,4,5...here i want to add DATA to every input and that will go to output as DATA1,DATA2,DATA3 like that...and i dont want to create many rules for this..i want to concat the input with output..so i can create only one rule for that...but i donno how to do it...please let me know
    Thanks in advance

    I agree with Shankycheil here, querying XPath will return XMLNode and thus can't be assigned to XMLNode.
    But for debatching in Orchestration using Xpath is not a very good idea. 
    Because using XPATH loads the complete message in memory(XML Structure) and then performs processing.
    This approach is always prone to throwing Out of Memory exception and low in performance also.
    Therefore I would suggest you to perform debatching by calling XML Disassembler(XMLReceive) pipeline.
    As pipeline works with Stream it will have better performance and you will also get complete control over the messages.
    Refer the below samples for debatching using XML Receive pipeline within Orchestration.
    Comparrison between XPATH and ReceivePipeline for Debatching:-
    De-batching within an orchestration using XPath or calling a pipeline
    Debatching within Orchestration using Pipeline-
    http://tech-findings.blogspot.in/2013/07/debatchingsplitting-xml-message-in.html 
    https://jeremyronk.wordpress.com/2011/10/03/how-to-debatch-into-an-orchestration-with-a-pipeline/
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • Copy the part of message

    I can't select and copy the part of message.

    I agree with Shankycheil here, querying XPath will return XMLNode and thus can't be assigned to XMLNode.
    But for debatching in Orchestration using Xpath is not a very good idea. 
    Because using XPATH loads the complete message in memory(XML Structure) and then performs processing.
    This approach is always prone to throwing Out of Memory exception and low in performance also.
    Therefore I would suggest you to perform debatching by calling XML Disassembler(XMLReceive) pipeline.
    As pipeline works with Stream it will have better performance and you will also get complete control over the messages.
    Refer the below samples for debatching using XML Receive pipeline within Orchestration.
    Comparrison between XPATH and ReceivePipeline for Debatching:-
    De-batching within an orchestration using XPath or calling a pipeline
    Debatching within Orchestration using Pipeline-
    http://tech-findings.blogspot.in/2013/07/debatchingsplitting-xml-message-in.html 
    https://jeremyronk.wordpress.com/2011/10/03/how-to-debatch-into-an-orchestration-with-a-pipeline/
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • Using static variable in orchestration for each message

    Once a file is dropped to our Biztalk server I am capturing data from each message. However, I need to assign a batchID for this file that I will write to the database along with the data. How do I build my orchestration so that the code I'm using to generate
    the BatchID doesn't create a new ID for each message? I want each message to use the same ID.
    Thanks.
    Raymond

    Shankycheil,
    I think you've pointed out my primary issue. I'm fairly new to Biztalk and I just kind of let it do its thing when it comes to EDI processing. So, I guess my issue is due to the fact that I'm letting the EDI Disassembler debatch the file and pass messages
    into the orch one at a time. I have code in an expression shape that generates a BatchID, but of course if I'm debatching it creates a new BatchID for each message. How do I deal with the file as a whole inside the orchestration so that once I generate a BatchID
    it uses it for all of the messages in file? I've done what Prabhdeep suggested and promoted a field in the schema so that I can set the BatchID, but it needs to be the same for each message in a file.
    Thanks.
    Raymond

  • Debatch Flat File in to XML

    Hi,
    First I Created a Flat file in below format having 3 records. When I Validate Flat File Schema , I can see the XML single xml file generating with 3 records.
    Shakeer,Newyork,US
    Hussain,Chicago,US
    Shahid,Newyork,US
    Later my goal is to split each record and generate each record as a single XML file. I did modifications in my Flat File Schema. After validating Schema it generates a
    single record XML file. Up to now its cool.
    Now I want to apply my modified schema in Existing Application
    in BizTalk console. How to do it?
    When I drop my Flat file in Receive location the I can see my XML file in send location not as a single record XML file but as
    all records in one single file.
    Please help how to resolve it?
    PS.Shakeer Hussain

    Hi Syed,
    Do the following simple steps for your requirement:
    Set “Allow Message Breakup At Infix Root” to “Yes” by selecting “Schema”
    Set “Max Occurs” to 1 by selecting the Record where you want to split.
    Create a Receive pipeline with "Flat File Disassembler" in the Disassemble stage.
    Deploy the above artifacts; Flat File Schema, Receive pipeline with Flat File Disassembler component.
    Configure the Receive port with Receive pipeline and send port with filter for Receive port (BTS.ReceviePortName) or after debatching do whatever you want to do..
    Obviously you have other ways like calling the Receivepipeline in orchestration if you have many message/records to be debatched and reduce the number of footprints in message-box db. But start
    with the above steps and move on to other advanced solution based on your need.
    You can follow the reference here..
    How to Debatch (Split) a Flat File using Flat File Schema ? 
    Another reference from our friend Mahesh-
    Debatching(Splitting) XML Message - BizTalk 2010
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • BizTalk Message Debatching

    Hi Experts,
    Can you please suggest which below one best for performance consideration?
    For, Debatching messaging we can do it for two ways 
    1. Debatching in Pipeline using Envelope schema. (OR)
    2. In orchestration using For loop , like below 
    Getting count - nRecordCount = System.Convert.ToInt32(xpath(Input, "count(/*[local-name()='EnvelopeData' and namespace-uri()='']/*[local-name()='Data' and namespace-uri()=''])"));
    Getting each message - sXPath = System.String.Format("/*[local-name()='EnvelopeData' and namespace-uri()='']/*[local-name()='Data' and namespace-uri()='' and position()={0}]", nLoopCount);
    If we are choosing first scenario, orchestration instance will create per message. it means if we receive 10 message in a single file, it will debatch in 10 individual message in pipeline and 10 Orchestration will instantiate. (if more messages .. let say
    200 , then 200 orchestration will instantiate)
    Second one, only one instance will Instantiate, but it a  looping mechanism. 
    I am just looking to find  which one is best for performance wise?
    Please clarify , or is there other any best  way to do that ??
    Thanks,
    Vinoth

    First, do you really need to worry about 'performance'?  What exactly are the constraints you're working within?  Throughput, latency, response-time?
    Please understand, the only way to actually determine which is best 'performance wise' is to test both and see which one meets your goals better.  We can offer guidance, but it would all be mostly supposition.
    How accurate are those numbers?  Do you really expect a maximum of 200 messages in a batch?  If so, you probably won't see a measurable difference between either one.  200 messages is very, very few.
    My recommendation, start with the standard BizTalk pattern which would be Pipeline debatching and let BizTalk manage the multiple Orchestration instances.
    If you then determine you are unable to meet you SLA's, optimize in the following order:
    Use a separate Host Instance for the Receive Location and Orchestration.
    Adjust the BizTalk Throttling settings.
    Use a Singleton Orchestration Pattern.

  • Debatching of Compex Schema using XMLDisassembler

    Hi,
    I am having a complex schema that I need to debatch based on the no. of blocks in the message. This is the message I am receiving:
    <?xml version="1.0" encoding="UTF-8" ?>
    <response status="1" xmlns="Namespace">
    <dam-schedule calculation="Wed May 28 00:00:00 CEST 2014" calculation_tz="2014-05-28 00:00:16 +0200" deliverydate="2014-05-30 00:00:00">
    <participants>
    <participant id="80" name="ABC" shortname="A">
    <areas>
    <area id="CD">
    <blocks bidclosingtme="Thu May 29 13:00:00 CEST 2014" currencyid="ABC" portfolioname="ABC_1" portfolioshortname="ABC_1">
    <block bid-block-price="0.0" bid-price="0.0" bid-vol="50.0" currencyid="ABP" exgroupid="" from="2014-05-30 08:00:00 +0200" id="ABC400">
    <periodvolumes>
    <period periodid="10" volume="50.0" />
    <period periodid="10" volume="50.0" />
    <period periodid="11" volume="50.0" />
    <period periodid="12" volume="50.0" />
    <period periodid="13" volume="50.0" />
    <period periodid="14" volume="50.0" />
    <period periodid="15" volume="50.0" />
    <period periodid="16" volume="50.0" />
    <period periodid="17" volume="50.0" />
    <period periodid="18" volume="50.0" />
    <period periodid="19" volume="50.0" />
    <period periodid="20" volume="50.0" />
    </periodvolumes>
    </block>
    <block bid-block-price="41.0" bid-price="56" currencyid="ABC" exgroupid="" from="2014-05-30 16:00:00 +0200" id="0000">
    <periodvolumes>
    <period periodid="17" volume="55.0" />
    <period periodid="18" volume="45.0" />
    <period periodid="19" volume="50.0" />
    <period periodid="20" volume="40.0" />
    </periodvolumes>
    </block>
    </blocks>
    </area>
    </areas>
    </participant>
    </participants>
    </dam-schedule>
    </response>
    I want the struture as for each "block" present in the original XML:
    <?xml version="1.0" encoding="UTF-8" ?>
    <response status="1" xmlns="Namespace">
    <dam-schedule calculation="Wed May 28 00:00:00 CEST 2014" calculation_tz="2014-05-28 00:00:16 +0200" deliverydate="2014-05-30 00:00:00">
    <participants>
    <participant id="80" name="ABC" shortname="A">
    <areas>
    <area id="CD">
    <blocks bidclosingtme="Thu May 29 13:00:00 CEST 2014" currencyid="ABC" portfolioname="ABC_1" portfolioshortname="ABC_1">
    <block bid-block-price="0.0" bid-price="0.0" bid-vol="50.0" currencyid="ABP" exgroupid="" from="2014-05-30 08:00:00 +0200" id="ABC400">
    <periodvolumes>
    <period periodid="10" volume="50.0" />
    <period periodid="10" volume="50.0" />
    <period periodid="11" volume="50.0" />
    <period periodid="12" volume="50.0" />
    <period periodid="13" volume="50.0" />
    <period periodid="14" volume="50.0" />
    <period periodid="15" volume="50.0" />
    <period periodid="16" volume="50.0" />
    <period periodid="17" volume="50.0" />
    <period periodid="18" volume="50.0" />
    <period periodid="19" volume="50.0" />
    <period periodid="20" volume="50.0" />
    </periodvolumes>
    </block>
    </blocks>
    </area>
    </areas>
    </participant>
    </participants>
    </dam-schedule>
    </response>
    How can I achieve this de batching using Envelope schema?

    Hi Rahul
     Its better a approach to start debatching in the pipeline first and than orchestration to do the debatching .
    You need to create two schemas, an envelope and a document/body schema; the envelope schema will define the message you will receive from your customer and the document schema the single <entry> schema.
    1. Create a new (ordinary) schema as your envelope schema as follows:
    . Click on the Schema node (at the top of your schema tree) and set the schema property
    Envelope to Yes
    3. Click on your Root node and click the elipsis button on the Body XPath property (note, this will be greyed out until you sent the Envelope property to
    Yes), navigate to your root node, not the entry node, and click Ok. This will update the
    Body XPath property.
    4. Create a separate schema that represents your single entry message so that once the message is debatched, the XmlDisassembler will recognise the individual messages.
    Thanks
    Abhishek

  • Debatching and batching

    I have some questions here
    1.How can we promote properties in pipeline component
    2.Is there any way implement call orchestration functionality using start orchestration
    3.Steps for debatch and batch the message .
    4.My rules have been configured with the priority 0 and priority 10 in Business rule composor which one will execute first .

    Thanks for the reply
    For 2nd point
    implement first call orchestration then start orchestration is in main orchestration,it will work , but  my question was  i am already in child orchestration(implemented start orchestration functionality) ,from here we need to implement call orchestration
    functionalists,it means send caller back to main orchestration .
    For 3rd point
    Debatch
    I have used envelop schema ,details as follows
    1.Created employee schema and followed envelop schema creation steps and used error schema inside .
    2.created error schema(ID,Name and etc)
    Rebatch:
    To Do this we need to use aggregation pattern ,for this i am using correlation concept
    1.Promoted ID in error schema and created correlation set using ID(set name is ReBatch).
    2.In receive shape configured initialized correlation with ReBatch
    3.Send shape configured followed correlation with ReBatch .
    here i am getting build error is
    Error    1    message data property 'BasicXMLEnvelope.PropertySchema.ID' in correlation 'BasicXMLEnvelope.MultiEnvolop.ReBatch' does not exist in message 'RecvEnvolop'    C:\Test\BasicXMLEnvelope\MultiEnvolop.odx  
     190    79    BasicXMLEnvelope
    I  agree this issue because field element ID is not available in created envelop schema it is available in Error schema.
    any help

  • BizTalk Orchestration with Envelop Schema

    I have Flat File Schema in which I set the Allow Message Breakup at Infix Root to true. And also I set the Record Max Occurrence 1. To dispatch the message and send the multiple message to the send port.I used a Receive Pipeline(with flat file disassemble)
    and Send Pipeline(XML Transmit) in the receive and sen ports. Till this it worked fine.
    The input .txt File at the receive Port
    1000 ABC IT 1001 DEF Maintenece 1002 GHI Payroll
    The Output was three .xml files like
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1000</ID>
    <Name>ABC</Name>
    <Dept>IT</Dept>
    </Employee>
    </Record>
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1001</ID>
    <Name>DEF</Name>
    <Dept>Maintenece</Dept>
    </Employee>
    </Record>
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1002</ID>
    <Name>GHI</Name>
    <Dept>Payroll</Dept>
    </Employee>
    </Record>
    Now I wanted to send only the message with specific ID.So I added a Orchestration in to the Project where I am using decision shape, using the expression. Else I didnt want to send any message to the send Port.
    Msg(FlatFilewithEnvelop.PropertySchema.ID) == 1000
    If I send the same message in the Receive Port, I am getting four messages in the Send port(shown as below). I dont what was the mistake can anybody tell me what is the mistake.
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1000</ID>
    <Name>ABC</Name>
    <Dept>IT</Dept>
    </Employee>
    </Record>
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1000</ID>
    <Name>ABC</Name>
    <Dept>IT</Dept>
    </Employee>
    </Record>
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1001</ID>
    <Name>DEF</Name>
    <Dept>Maintenece</Dept>
    </Employee>
    </Record>
    <?xml version="1.0" encoding="utf-8" ?>
    - <Record xmlns="http://FlatFilewithEnvelop.FlatFileSchema1">
    - <Employee xmlns="">
    <ID>1002</ID>
    <Name>GHI</Name>
    <Dept>Payroll</Dept>
    </Employee>
    </Record>

    The way in you have defined the schema (with batch) when its debatches all the debatches messages will have the same context property which in this case is 1000. So you're getting all the messages from the same batch passed through (true part of) the decide
    shape.
    Try this in the Decide shape:
    xpath(YourReceivedMessage, "boolean(/*[local-name()='Record' and namespace-uri()='http://FlatFilewithEnvelop.FlatFileSchema1']/*[local-name()='Employee' and namespace-uri()='']/*[local-name()='ID' and namespace-uri()='']=1000)")
    Replace "YourReceivedMessage" to the Biztalk message type you have set in the Receive shape.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Handling with WcfSendport-SqlAdapter Binding without Orchestration

    I have a WCfSendPort-SqlAdapterBinding created by binding file, which selects the 6 different views. I have created 6 different receive ports which uses Scheduler adapter to pulll data from these 6 views everyday. There are 6 other FILE send ports which
    maps to SelectResponse of the 6 views and will generate a flat file. I just wondering if I can do this without using orchestration and just to use the Filters and Outbound Map in the send ports. I tried just specifying the filters and outboundmaps, it gives
    error like
    "The adapter failed to transmit message going to send port "WcfSendPort_SqlAdapterBinding_Multiple_Custom". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.InvalidOperationException: An
    action mapping was defined but BTS.Operation was not found in the message context."
    Am I doing it wrong or cannot it be done without orchestration.
    Thanks

    Both the sqlBinding and oracleDbBinding have Polling built in.  No custom code is required.
    There's lots of docs and examples out there, here are a few:
    https://msdn.microsoft.com/en-us/library/dd788532.aspx?f=255&MSPPError=-2147217396
    http://social.technet.microsoft.com/wiki/contents/articles/24803.biztalk-server-sql-patterns-for-polling-and-batch-retreive.aspx
    http://btsguru.blogspot.com/2012/01/debatching-inbound-messages-from-wcf.html

  • Single orchestration instance and Sequential convoy

    Hi
    I had read some Biztalk documents, I saw that talk about single orchestration instance and sequential convoy. But
    I'm not sure with what situation use them?
    1. What are scenarios use single orchestration?
    2. What are scenarios use a sequential convoy?
    Thanks in advance!

    A single orchestration or a singleton provides you with a mechanism to control the throughput of message through the system. The behaviour of BizTalk is to trigger a thread for every message instance and when handling Message Batches, this is often not a
    good thing as after debatching you land up with lots of messages, each of which trigger off an instance of the subscription.
    A convoy is a more generalized pattern. If a convoy is deployed for the same message, it becomes a singleton. A convoy can be used to sequentially process different (but interlinked) messages. To take a very loose example, the entire process from order placement
    to goods shipment to invoicing to payment can be implemented as a convoy with each different type of message being handled by one instance and being received from a single port. A convoy can also be used to implement the gather portion of the scatter-gather
    pattern which is usefull when you want to aggregate the results of a batched processing, etc.
    Regards.

  • Debatch unique records only, BizTalk 2010

    Hi all,
    I have a flat file coming onto BizTalk that contains multiple duplicate rows.  I want to debatch to XML, however only keep the unique records.  Is there a way of doing this without using a custom pipeline component?
    Thanks in advance.
    GilesB

    Use a map and with custom XSLT in your map you can filter the records eliminating the duplicate records (Muenchian), then in orchestration by calling the Receive pipeline you can debatch the message. Check the following references for eliminating the duplicate
    records in maps:
    http://social.msdn.microsoft.com/Forums/en-US/760d5bd6-aa97-4fff-a4c8-706f86bda7b5/eliminate-duplicate-records-in-map-instance?forum=biztalkgeneral
    http://alamnaushad.wordpress.com/2012/02/24/filter-unique-records-using-biztalk-xsl/
    And following is the reference for debatching the message in orchestration by calling the Receive pipeline
    http://geekswithblogs.net/sthomas/archive/2005/06/16/44023.aspx
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Call a receive pipeline in orchetsration for debatching

    Why we Call a receive pipeline in orchetsration for debatching ?Is there any specific reason for this ?
    Can we apply some other technique for debatching in orchestartion ?
    Prakash

    Debatching in Orchestration can be done in two main ways:
    By calling Receive pipeline in orchestration
    By using some code.
    When I mean by some code, this can be
    Using XPath
    Nodelist in Atomic scope
    Or pass the debatching logic to external .NET helper.
    Rachit's article can give you insight into the performance of these options.
    Microsoft has seen this requirement and seen people use various methods to debatch. So they came up with Pipeline Manager so the pipeline can be called in Orchestration to debatch, which is much better in terms of performance. But you lose the “Recoverable
    Interchange” option when you call Receive pipeline in orchestration.
    So what I do is chose the option based on quality of the interchange/batch I would receive. If interchange/batch is always going to be perfect and if I would not be facing any issues in debatch or format of the interchange, then I would prefer to go with
    calling Receive pipeline in orchestration. If message quality would vary and there are possibilities of many messages with in the message to fail during debatching i.e. if I need “Recoverable Interchange” and also there is need to debatch the message in orchestration,
    then I would use custom code to the debatch and handle the failed debatched messages internally.Its sometime better to handle the known devil/failure within the code rather than leaving to operational support to manage
    FYI, there are also other reistriction  on using Receive Pipeline in Orchestration, check this article from MSDN for more info.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • How can I connect my older mac book pro to a tv?

    Can I just use the USB port and it will work?

  • Error while accessing EP: 500 Internal Server Error

    Installed EP 6.0 SP3 on WAS 6.4 (ABAP+J2EE stack),DB->SQL Server, OS->Windows (no clusters involved). When we try to access EP (http://<servername>:50000/irj/portal), we get the following message. Application error occurs during processing the reques

  • SMS Charges during FaceTime

    I have an iPhone 4 bought in UK & using in India. whenever i turned on iMessage & FT it sending SMS to UK and it costs me Rs.5 INR. And at FT in Settings it displays a UK number. Can anyone help in changing that number and save me from international

  • Can 6233 use ActiveSync

    I just got a new pc at work and am told that PC Suite is not allowed for this configuration ( - I have to use ActiveSync. Does the 6233 support ActiveSync, and if yes, what software do I need? If not, what would be an alternative phone that supports

  • How to install Air 2.7 on mac ?

    I had downloaded "AdobeAIRSDK.tbz2" and what the next? any steps will help me!