Sequential convoy scinario ,example and steps

Hi all,
I Am trying to implement sequential convoy for my knowledge.
1-in which scenario I will use sequential convoy please give me an example(as i know that if we want to execute a process in predefined steps then we will follow sequential convoy).
2-how we will implement this in our application ? what are the steps..
Below are the steps which I am following for creating my test application
a) created 4 schema
     1-firstname schema (id,fname)
     2-lastname schema (id,lname)
     3-Property schema(id) for corelation
     4-output schema (id,fullname)
b)Orchestaion
i have created 3 message.
msgFname,msgLname,msgFullname.
in designing of orchestation
first draged a recive shape with activate ="true" and message type is "msgFname"  initialize corelation here
draged a recive shape below the first recive shape with activate ="false" and message type is "msgLname" will following corelation here
will do mapping with final output msg (msgfullname).and will send final output.
while i m deploying application I m getting error
"in a sequential convoy the ports must be identical"
Please help me to overcome from this issue.
Thanks
Manoj Ruwali

Hi
Please check below few links about sequential convoy, I am sure they will be useful.
http://abdulrafaysbiztalk.wordpress.com/2009/11/07/enterprise-integration-pattern-part-5-aggregator-sequential-convoy/ 
http://msdn.microsoft.com/en-us/library/aa561843.aspx 
http://msdn.microsoft.com/en-us/library/ms942189(v=bts.10).aspx 
HTH,
Naushad Alam
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or
Mark As Answer
alamnaushad.wordpress.com
My new TechNet Wiki
"BizTalk Server: Performance Tuning & Optimization"

Similar Messages

  • 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.

  • Sequential Convoy and Long running transaction: Messages still referenced

    Hi everyone<o:p></o:p>
    Being a BizTalk developer since 2006, this thing still stumps me.<o:p></o:p>
    I have a sequential convoy singleton orchestration that debatches messages using a rcvPipeline. The orchestration is needed in a FIFO scenario. In order to execute a rcvPipeline
    within an orchestration I need to encapsulate it within an atomic transaction scope. <o:p></o:p>
    In order to have an atomic scope the orchestration needs to be long running. I have also encapsulated the atomic transaction within a scope (using long running transactions) to have
    exception handling.
    <o:p></o:p>
    Everything works fine except for one major detail:
    When the orchestration executes the messages are still in the messagebox. I can even click on the orchestration instance in the MGMT console and look at the message! Tracking is disabled for the receive port as well as for the orchestration. Still, the messages
    does not get cleaned up.
    <o:p></o:p>
    I have set my DTA-purge to 1 hour and it works fine, but the messages are still in the orchestration.<o:p></o:p>
    My guess is that the long running transactions does not complete (although it looks like they should) and since the transaction is not completed the messages are not removed from
    the message box.
    So, to summarize: Is it possible to combine long running transactions and a singleton orchestration?
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

    So after a day of looking for the solution it is quite clear that you are right in that the atomic transaction does not commit. I added a compensation block with trace info and it is never hit.
    I also experimented with Isolation level on the atomic transaction and that did nothing.
    Lastly I also made the sendport direct bound and also tried "specify later binding" to a physical port.
    The messages are still being referenced by the orchestration! What can I do to make the atomic transation commit?
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

  • Hi..I really don't understand how can labview can be a server, can you explain and give me some examples with steps on how to make the labview as a server? Please......

    nn
    Solved!
    Go to Solution.

    erm ok i will explain...
    actually..i know that labview can be a client or server. when the labview be a client, it can access other enable activeX application such as excel or word. i manage to do that a little such as to open excel file and save it at another location by using activeX functions or using the report generation toolkit. yes, i already know and understand the flow or concept of how the labview can be a client. But by using others activeX application especially excel, how can we make the labview be a server? i just need a very easy example and few steps for me to understand how can labview be a server or how excel can control the labview properties?
    really desperate to increase new knowledge.....:-)
    thank you very much for helping me....

  • IDOC with example and T.codes ??

    hii
    Some body explain me about the scenario and steps to be followed in configuration and in front process with transaction codes .
    Jus some experts can explain me about over all procedure of IDOC in SAP with transaction code (Full cycle with examples...??
    In MM , exaplin me with some examples and with transaction codes ..
    Thanks

    Check these links
    [IDOC Configuration|http://sapmm.posterous.com/idoc-configuration]
    [Learn SAP u2014 IDOC basic|http://blogs.moovar.com/sap/learn-sap-idoc-basic/]
    1) What is IDOC?
    IDoc means intermediate document is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system.
    2) Why its is used with SAP?
    IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions.
    3) What its advantages & disadvantages?
    a) IDOC - Advantages :
    The target system need not be always online. The IDOC would be created and would send the IDOC once the target
    system is available.
    No additional programming required. Configuration is the only one need to be set up.
    b) IDOC - Disadvantages :
    Receipt/Processing on the target system need not be immediate
    When no standard IDOC is available, then it is very hard to create a custom IDOC when compared to creating a
    standard BAPI
    Unless ALE is used, it is difficult to trace if the IDOC has actually reached the target system
    4) IDOC flow with MM :
    In order to make use of the workflow for IDoc processing, you do not have to go through the cumbersome
    workflow design procedure as it is described in the workflow documentation. For the mentioned purpose, you can
    register the workflow handler from the menu, which says Event Coupling from the BALD transaction.
    Triggering the IDoc from a workflow event has a disadvantage: if the IDoc has to be repeated for some reason, the
    event cannot be repeated easily. This is due to the nature of a workflow event, which is triggered usually from a
    precedent action.
    Edited by: Afshad Irani on Aug 26, 2010 5:48 PM

  • Sequential convoy issue

    I have an issue with an orchestration.
     I am using WCF-SQL receive adapter to poll some records. I splitted the message based on Richard Seroter’s blog (http://seroter.wordpress.com/2010/04/08/debatching-inbound-messages-from-biztalk-wcf-sql-adapter/).
    Then I am trying to group the messages based on some field using sequential convoy pattern. I created a correlation set and initialized the correlation set on the first receive shape and then followed the correlation set in the second receive shape which is
    in branch of a listen shape.  I can see the promoted property and the value of the promoted property is exactly same for some messages.
     So they are supposed to go to same orchestration. The problem is that the incoming splitted messages still activated new orchestration instances. The convoy is not working.
    Any suggestions about what could be wrong?
    Thanks,
    David
    David

    It is possible that the messages are getting debatched at a speed which results in multiple messages with the same correlation pattern getting instantiated at the same time. So when BizTalk Checks for an existing subscription (for the convoy) it does not
    find one and creates a new instance of the convoy.
    To test this out, I'd suggest you first put in two distinct records. This should result in four distinct instances. Then you again insert records matching to two of previous and then a new one. You should see your convoy working and a new instance being
    created of the new instance. If you do observe this pattern then you would be sure that the timing the messages are hitting the messagebox is causing the confusion.
    What you might have to do is first implement a singleton, which will force BizTalk to process the messages sequentially and then pass it through to a convoy.
    Regards.

  • Concept and Steps of Distribution Resource Planning.....please reply

    Hi Experts,
    Can anyone tell me about the concept and steps to exicute Distribution resource planning in pp?
    Please help experts.
    Regards,
    sap pp
    Edited by: sap  pp on Jan 15, 2009 9:48 AM

    Hi,
    Distribution Resource Planning
    Purpose
    Distribution resource planning provides a framework for determining the need to replenish
    inventory by:
    Linking market requirements with manufacturing and demand management
    Relating current inventory positions and demand forecasts to production scheduling
    Matching material supply to manufacturing demand, and customer demand to product
    supply
    Process Flow
    1. You define all nodes in the network including plants, distribution centers (DCs),
    warehouses, and stock transfer points using the Distribution Network tool.
    2. You set up the material master record for each node. In MRP 4 of the material master
    record, you must define the deployment strategy for each material (the fair and push
    distribution options) as well as deployment horizon (push horizon). For the push horizon,
    enter the number of days for which the system considers the ATD quantity and any
    additional quantity produced. Any quantity produced beyond the push horizon is not
    considered in the deployment calculation.
    3. To calculate an available to deploy (ATD) quantity, use the availability check rule, DE, in
    Customizing, u2018Carry out control for availability check.u2019 The availability check and the
    deployment checking rule, determine the MRP elements that are used to calculate the
    ATD quantity.
    4. You create a forecast for each DC; for example, a sales forecast.
    5. You transfer the forecasted data to Demand Management. The system creates
    independent requirements.
    6. You perform a DRP run in each DC and in each supplying plant. The DRP run considers
    the quota arrangements defined in the network, available stock, sales orders, and
    independent requirements.
    The DRP run in the DCs creates releases for stock transport requisitions in the
          supplying plants.
    The DRP run in the supplying plants creates planned orders for production.
    7. You convert planned orders into production orders for manufacturing.
    You run deployment to produce stock transport orders for distribution of stock from the supplying
    plants to the DCs.
    Hope you are a bit clear now.
    Still not, refer the following link for easy understanding. Its given with simple steps and examples,
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPSOPDRP/PPSOPDRP.pdf
    Regards,
    Vinodh

  • Running weblogic examples and Jms configuration

    I am new to JMS. I configured the JMS server using the weblogic console page and i created JMS server under Services. I am having only one server. I am starting the console using http://localhost:7001/
              Now i want to run the examples of weblogic (QueueSend.java and QueueReceive.java).
              What are the changes i have to do in the given java files and how to run the examples.
              Please give the steps to configure JMS server and run the example and what are the parameters i have to pass to these file?
              Thank you

    Hello,
              I am having problem with WL. I use version 8.1 with multiple server.
              The Admin server works fine, but when I try to start other servers, I am getting the following errors.
              Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <SocketInputHandler: Command read failed 'Read channel closed.' on socket /127.0.0.1>
              <Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <Failed to write to socket Read channel closed., to /127.0.0.1>
              <Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <Failed to write to socket Write Channel Closed, possible SSL handshaking or trust failure, to /127.0.0.1>
              <Aug 23, 2005 2:48:20 PM EDT> <Info> <NodeManager@*.*:5555> <Starting Server devDomain::buyerserver1 ...>
              <Aug 23, 2005 2:48:21 PM EDT> <Info> <NodeManager@*.*:5555> <Server devDomain::buyerserver1 started, process id = 4,068>
              <Aug 23, 2005 2:49:33 PM EDT> <Info> <NodeManager@*.*:5555> <__COMMAND_DONE__>
              Can someone please help?
              Thank you.

  • Problem when handling multiple messages using sequential convoy

    Hi Guys,
    We receive two files from FTP server. One is Order file and other one is notes file which is optional one. If the note flag in order file is 1 then we should process notes file as well. Here we implemented sequential convoy and it was working fine when we
    receive order file first and then notes file. it is throwing error when we receive notes file first as we set initialize correlation for Order file.  Please share your ideas what to do when we receive notes file first than order file?. Thanks!!

    Hi,
    i added debug points and ran it. i dropped one order file and one note file but it is initializing active instance for both order and note files. Here is the order of logs.
    Initialized Order
    Initialized Note
    followed Note

  • Activate or skip "Record Results" and "Step Failure Cause Sequence Failure" for all steps of a step type

    Hello all,
    I am using teststand 3.1
    Is it possible to skip or activate ´"Record Results" and "Step Failure Cause Sequence Failure" for all steps of a step type.
    It is very much work to do this for all steps, because I have hundred of steps
    regards
    samuel

    hi,
    here is an example that will change the TS.NoResult. You just have to change this area of the sequence to suit your needs
    I haven't added any fancy stuff, such as adding a filedialog to get the seq file to change, you will find the various variables in the Locals.
    Hope it helps
    There is a version for 3.1 and 3.5.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    ChangeStepTypeRunMode.zip ‏30 KB

  • MDO examples and tutorials.

    Hi all,
    Can you please point me where can i find examples and tutorials on MII MDO.
    Even if i can get the steps to create a simple MDO and how to use it in that in real time would be great.
    i tried in help.sap.com site, but could not find examples.
    any help would be highly appreciated.
    Thanks,

    i should have looked around a bit first before i jumped the
    gun and posted, but that's a great recipe with explanation and
    documented code examples.
    i will dig into it so i can get my feet wet and possibly port
    my app to a somewhat similar structure.
    you've helped me out more than once and i do appreciate it.
    thanks greg...
    -fd

  • Ive tried loading this new software, and step 1 and 2 were successful, but after trying to restart the loading grey screen wont stop loading?

    ive tried loading this new software, and step 1 and 2 were successful, but after trying to restart the loading grey screen wont stop loading?

    I had a similar problem, does the phone show anything on the screen, for example "update failed, connect to computer" if it does, try opening "Sony PC Companion 2.1" click start on "support zone" then click "phone/ tablet software update" a message will pop up, press repair my phone / tablet, select your phone in the list, then follow what it says, try doing this even if the phone shows nothing, you will lose everything, all data will be gone if you follow my steps

  • PAPI Webservice documentation and Step by step explanation

    Where do I get PAPI Webservice documentation and Step by step explanation?
    Is there any book or pdf file which contains lots of examples? if so where I can get it?

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Studio.
    http://www.4shared.com/file/128256802/f20abc7a/PAPI-WS_for_Oracle_BPM_Studio.html
    Be sure to use the project that is in the zip file for this example.
    If you need an example of how to use PAPI-WS on Oracle BPM Enterprise, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    The Oracle BPM 10g docs are on this page: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html. There is a section that might help regarding PAPI.
    Hope this helps,
    Dan

  • Property Loader and Step Names in TestStand 3.5

    Hi All,
    I enheritted a job from someone else who left the project unfinished.  There are roughly 100 or more steps all together.  The Property Loader is used to load limits and comparision type into Step.Comp, Step.High.Limit, and Step.Low.Limit from a text (.txt) file.  Step names that were created by the original developer has many charaters that I never thought to include. 
    Examples are TN0500.x.zz_DMM: Meas AURID +/- via MRRM Switch, TN0400.x.zz_DMM: Meas AUR Power Path (+), TN0410.x.zz_DMM: Meas AUR Power Parallel 10 ohm, SCNR1: Close Relay for 1PPS +/-, TN0445.x.zz_DMM: Meas MRR Resistance w/ 1 Ohm, etc.
    It has space, :, /, +, -, (), etc. as part of the name.  When the Property Load is executed, it appears to load the limits and comparision type from the correct file.  But it seems to load limits from from no where (not exist in the text file) for several steps later.  They are TestStand steps that are group together or in the same sub-sequence.  Also these are limits that are group together in between the same start and and end flags in the text file.
    Does anyone know if any certain character such as :, /, ect. in the step name cause any strange behave for TestStand 3.5?
    Thanks,
    leek

    I am eliminating all special characters from the step names, and use underscore (_) to replace space.  So the new step names are one contiguous string.  TesStand is configured to generate a database report file.  Special character may have side effect in the database.
    The suspicion of special character comes in when the TestStand is executed, some steps read comparison type, high and low limits fine.  But some steps within the same group that read from the same Start and End flags in the text file appears to read the comparison type and limit values from no where.
    Specifically, I have comparison type of "GELE"  20  0, "LT"  20  10, etc.  The failed steps show that it read "LT" 0.  These are resistance measurement.  So the tests failed.  There is no "LT"  0 any where in the limit file.  There are "LT", but not 0.
    leek

  • SAP E-Commerce 5.0 - Examples and Tutorials Guide  : examples source files

    Hi everyone,
    Where can i find examples source files of the "SAP E-Commerce 5.0 - Examples and Tutorials (Dev./Ext.) " Guide ?
    Thanks & Regards

    You can get the JAVA files source code from the <drive>:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b directory, you should be able to find the src.zip file which contains the source code for the Action & Business object files.
    You can access the JSP files from the <drive>\usr\sap\CD5\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b\servlet_jsp\b2b\root
    OR
    You can import through NWDI into your NWDS.
    Let me know if you need further details.
    Thanks
    Srini Sandaka

Maybe you are looking for