Constant Correlation in BPM

Hi All,
I have a requirement to collect 3 different formatted text files (using FCC to XML) which do not relate in any way except that they all need to be collected and need to be sent in a sequence while delivering to the other side.
Since there were no common fields available to correlate, I have used constant values in the correlation editor and also while activating the correlation in the receive steps (in all 3).
The BPM works fine only when I send files having each one line. When I send files with multiple lines (the XMLs would have multiple recordset elements) the BPM fails in the Outbound Queue and the BPM does not even get initiated. Surprisingly in the SMQ2 logs, the correlation is being created based on ID field in the received XML (which was not intended). Similar is the case when I send any of the other type of files with multiple lines.
My assumption is the BPM should disregard the content in the files and should create a constant correlation when the first message arrives. Then it should collect until the block times out and complete the sending steps. Any guess what is going wrong?
Thanks for your time.
VJ

The problem was, one of the developers used some unidentical key fields to define the correaltion long back and they are dangling in the system with error status. After I have deleted the erroneous workflows the BPM works flawless..!!
Apparently the problem was when ever the file containg the same values the previous correlation was referring to, the BPM was failing.
VJ

Similar Messages

  • Implementing Correlation in BPM 11gR1

    Hi,
    Need urgent help for implementing correlation in Oracle BPM 11gR1.
    Scenario: A busines process has various steps.When the request for the Step 1 comes, the BPMN process is instantiated which in-turn calls a sub-process that completes that step. After its completion, need to keep that thread waiting till the request for Step2 is received. When the request for Step 2 is received, need to re-start the waiting thread by corelating these two requests (Based on a unique ID).
    Now the ques are:
    1. Can we implement correlation in BPM 11gR1?
    2. If yes, how?
    3. If no, what is the alternate approach? (Think,can use BPEL corelation sets. Can anyone provide the steps for the same?)
    Any inputs around this would be really very helpful,thanks.

    Hi,
    You can achieve this behavior using BPMN, BPEL and Mediator components within a composite. We use this approach in a recent project. I wrote a new post in my blog explaining how to do that: http://blog.andrade.inf.br/2011/01/implementing-correlation-in-bpm-11gr1.html
    I hope this can help.
    Regards,
    Rafael Andrade

  • Accessing dynamic configuration variables for correlation in BPM

    Hi,
    we are not able to access the runtime variables/ context objects while using correlation in BPM.
    is this the a problem with SP levels.. My server is in PI SP 9
    What might be the problem..??
    Regards,
    Rajesh

    Hi,
    Where you are not able to see the context objects???
    In ID----Receiver det or in BPM???
    Regards
    Seshagiri

  • Constant Correlation

    Hi
    I have been trying to figure out the reasons why my BPM is not working.
    I am using constant as correlation in my BPM. When I configured the CC s I kept the polling interval for input files at 60 seconds and as a reult many instances were triggered. I saw that in SXMB_MONI.
    Now, I changed few of my objects and triggered again. Continuosly it's going to the queues and also am unable to even see the workflow using SXMB_MONI_BPE.
    I read that only one instance of the BPM should be running when we use constant as correlation. So is that the reason why my scenario is working. I have many instances triggered and so do I have to delete them all using SWWL so that it would work. Right now I dont have access to SWWL and have asked for that authorization.
    Can someone provide few inputs regarding this
    Regards
    Harish Babu

    Shabrish,
    Last few days, I have been posting many questions about this interface which is very complex and in fact none in my office has got a clue on how to do it. I even thought of mailing you as one of my colleagues mailed you  three days ago and got a reply. I guess it was about FCC
    Well, this is my scenario
    It's a file to file scenario. I need to read three input files from the source. I need to generate only one output file. The three input files are Header, Container and Container Item. I have to read two values, say A and B from Header and go to the Container file. Then I have to pick the values C and D from the Container file. These vales, C and D, should correspond to the values of A and B. A and B also appear in the Container file. Now with all these values, I have to go to the Container Item file and read the values E and F, which correspond to the previous set of already read values.
    The values E and F should be sent to the target file. This is the scene !
    And my design is
    I use BPM to collect the three messages and using transformation merge the files. I sent the merged file to Interface mapping which takes care of the mapping logic using UDFs. Then it is send asynchronously to the receiver.
    I guess the UDF is working,  am not 100% sure. But BPM is not
    In fact when I triggered it first, I was able to go to the BPM and in the graphical , I could see green till merge. But since my poll interval was only 60 seconds many instances were triggered and now am not even able to see the workflow items using SXMB_MONI_BPE.
    Regards
    Harish Babu

  • File split and correlation in BPM

    Hi,
    I have a large file from the sender FTP which I am splitting by using 'recordsets per message' in the file adapter.
    Now I want all the split files to enter the same BPM.
    I have designed the BPM logic by using the correlation in the receive step. Still I am seeing that the each split message from the same file is entering into a separate BPM.
    How can we monitor whether the correlation is actibve? What could be the other options to check?
    KIndly help.
    Thanks,
    John.

    Hi ciochinah,
    The value is same in all the batches.
    But there is one aspect. Each batch has got many line items (no headers). I am assigning an element in the line items for correlation.
    All the line items in all the batches has got the same value for the field element used in correlation.
    I have one important question here. Where can we check for the active correlation at runtime? Is there a transaction which will tell you whether the correlations are active and which one was taken at runtime?
    Thanks,
    John

  • Correlation in bpm - Difference between activating and using correlation

    Hi
       I would like to know the difference between between activating a correaltion and using a correlation in a step.

    Correlation is used when you have multiple recieve steps in the BPM to differentiate each file.
    Consider your recive step is executed and the BPM is active waiting for the other file to comne in.
    Before the next file comes in , if another BPM is activated becuase your recived recive1 message. Now, when the next message comes in , how does XI know which BPM instance is to be used.
    Correlation is used in these cases. to corelate the messages.,
    some people name their Correlation as correlation in IP. So it means using the correlation 'correlation'.
    its like me creating a message interface by the name 'messageinterface' so finally i am using the message interface messageinterface !!!
    Check this weblog ..
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    to understand it refer -
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Also Ref checklist on when it is needed -
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/content.htm
    Thanks !!

  • Correlation in BPM

    hi
      i am working in BPM process... i created correlation and i try to assign the correlation in the Receiver step in Activate correlation field but the correlation is not assigning..but it is displayed in the list box...
    wat is the reason....
    thx.....

    Hi,
    Please go through this Blog
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Regards
    Seshagiri

  • Correlation after BPM Suite FP4 applied

    Hi everyone. Does anybody have a sample application or a good guide about the new correlation treatment after we applied FP4 to SOA Suite? I have found an explanation at the official documentation but I can't understand it clearly.
    I followed the steps indicated in page 23-3 at: http://www.oracle.com/technetwork/middleware/soasuite/documentation/oracle-bpm-modeling-guide-ps4fp-487996.pdf
    Thanks in advanced.
    Edited by: Dennis Garces on 17-oct-2011 19:03

    Hi Dennis,
    This is exactly what i had blogged a day back.
    http://beatechnologies.wordpress.com/2011/10/17/working-with-custom-correlation-in-oracle-bpm-suite-11g-ps4-feature-pack/
    Hope this post helps u in understanding correlation in Oracle BPM 11g.

  • How to create Dummy Correlation in BPM?

    Hi all
    I would like to know how to create a dummy correlation

    Hi,
    Have aq look at this.
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Regards,
    Akshay.
    Reward points if find useful.

  • Is it possible to create two correlation id's for same message in BPM

    Hi All
    Is it possible to define two correlation id's for the same correlation in BPM.. intially we defind one field as a correaltion id but in some rare situations we are getting two fiels at time containing the same correlation id then it is generation two instances for them ,but only one instance is executing and another one is in wait mode,in monitoring its showing TBDL (to be deliver mode)...we added one more field as a correlation id in correlation editor, but its not working only the first id is working.
    Seeking your valuable suggestions.
    Thanks.

    Are you correlatiing on a field whose occurence is more one 1(like 0..unbounded).?
    if you want to correlate on the first occurence of that field  then you have to specify in the XPATH.
    try [1] at the end of xpath
    If the field contains a structure, select Multiline.
    refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm] for how to specify XPATH

  • Do I use BPM correlation correctly

    I have a BPM and it calls 3 RFCs
    Sender -> BPM -> RFC1(sync) -> RFC2(sync) -> RFC3(sync)
    And the data is master/detail, but the sender send by detail, not master. It means, if a master has 3 details then sender sends 3 messages to BPM. But I don't want to run the 3 messages parallel.
    Therefore, I use the master no. of the detail message as a correlation in BPM, is it correct? Because I found sometimes I still get parallel BPMs.

    Hi Denis,
      sorry it is not really clear to me do you mean that if you have 3 details you want them to be inside one BPM which would perform 3 succesive RFC calls?
      Then correlction have to be build on master level
    BR, Artem
    Remember points

  • Oracle BPM - process correlation

    Hi,
    I need to model a process in BPM which:
    checks if other process with certain correlation id exists
    if yes then send message to that process
    if not start new process
    Can anyone tell me how should I check if the process with certain correlation id exists/is running?
    thanks for any help,
    Kamil Warcaba

    Hi,
    You can achieve this behavior using BPMN, BPEL and Mediator components within a composite. We use this approach in a recent project. I wrote a new post in my blog explaining how to do that: http://blog.andrade.inf.br/2011/01/implementing-correlation-in-bpm-11gr1.html
    I hope this can help.
    Regards,
    Rafael Andrade

  • Merging files using BPM-Prod Issue - JDBC to File.

    Hi all,
    We had a scenario in which data is available in two database tables and that data needs to be merged and dropped in a File system.
    To meet this requirement we have developed a BPM with constant correlation and it was working fine.
    But some days one file wont get generated as the JDBC adapters are polling the DB tables based on date.So there are chances that records wont be present in DB for that particular date and file may not be created.So if only one file is generated my entire business scenario fails as the fork step used to merge two files will not be completed.
    The records which is pulled from DB table is based on data an i have written UDF based on these dates.
    Could someone help me in finding a solution.
    Thanks & Regards,
    Lekshmi.

    Hi ,
    I have included a deadline and exception branch in my scenario and it seems to be working fine.Need to do some more testing in this regard.
    But i have one doubt regarding this issue.In the transformation step i have used multi message mapping where i have mentioned the occurrence of both input messages as 1. I was expecting this scenario to throw an error at transformation step (since only one message was given as input )once i have made the changes but surprisingly it didnt happen.Could you pls tell me why this didnt happen..
    Rgds,
    Lekshmi.

  • Issue with BPM-Merging 2 files.

    Hi all,
    I am facing one issue with my development object...it is a BPM scenario in which i am merging 2 files using constant correlation id...JDBC to File scenario...i am using 2 JDBC adapters at source side...the scenario is getting executed without any error and i am getting the output...but the output contain only the data in 1 file...merging is not happening and only one file data is displayed in the output...could someone help me with this issue???am i missing something here??any help will be really appreciated...
    Thanks,
    Lekshmi.

    Hi all,
    As informed in my earlier post the same scenario was working with File adapters at source side.I figured out why it was working earlier.
    Since i have generated the source files for the File adpaters i have added the name space as displayed in the mapping(highlighted in bold letters).
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:Test1_MT xmlns:ns1="http://testing.com/Details">
             <row>
             </row>
          </ns1:Test1_MT>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:Test2_MT xmlns:ns1="http://testing.com/Details">
             <row>
                <VIA_NO/>
                <VSL_NM/>
                <ATA_DTTM/>
                <PATA_DTTM/>
                <ADT_INS_DTTM/>
                <ADT_UPD_DTTM/>
             </row>
          </ns1:Test2_MT>
       </ns0:Message2>
    </ns0:Messages>
    But in the case of real time scenario data is pulled from database and the input file is created through JDBC adater i am getting the source message for mapping as :
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns:Test1_MT xmlns:ns="http://testing.com/Details">
             <row>
             </row>
         </ns:Test1_MT>
       </ns0:Message1>
       <ns0:Message2>
         <ns:Test2_MT xmlns:ns="http://testing.com/Details">
             <row>
                <VIA_NO/>
                <VSL_NM/>
                <ATA_DTTM/>
                <PATA_DTTM/>
                <ADT_INS_DTTM/>
                <ADT_UPD_DTTM/>
             </row>
         </ns:Test2_MT>
       </ns0:Message2>
    </ns0:Messages>
    When i tested this message in message mapping it is giving only the first file in the output.
    Any idea how to resolve this one?
    Rgds,
    Lekshmi.

  • Collect Messages with BPM

    Hi everybody,
    I need to know if it is possible to develop a integration process to collect messages without using correlation, until now I only developed that scenarios using correlation, but I have a special case that is not necessary identify a key to make a relation among the messages
    Thanks in advance.
    Ivan
    Edited by: Jose Iván Reyes Arteaga on Dec 3, 2008 10:42 PM

    If you do not need any key field for correlation, then you can go for dummy correlation in BPM.
    In the expression editor (properties column of the Correlation editor), select the "Constant" radio button and give some dummy name.
    For more explanation, refer Siva Maranani's post in the thread:
    /message/426236#426236 [original link is broken]
    Thanks,
    Geetha

Maybe you are looking for

  • How can I safely migrate my photo library from Photos 1.0 back to iPhoto 9.6.1?

    When I updated to the 10.10.3 update, it removed iPhoto from my dock, replacing it with the new Photos icon.  I assumed wrongly that I could no longer use iPhoto & allowed Photos to migrate my photo library to itself. My photo library is huge, over 2

  • WD for Java: How to I retrieve key and value for DropDownbyKey selection

    Dear All I thought this was going to be straightfoward and am obviously missing something. I have created a simple modifiable value set to create a dropdown list to select a country:   public void GetCountryDropDownValues( )     //@@begin GetCountryD

  • Credit management ECC 6.0 implementation

    Hi Experts/Gurus, One of our clients have done a technical upgrade from SAP 4.6c to ECC 6.0. Now they want to know what will be the timeline required for implementation of the Integrated credit management functionality of ECC6.0 in their SAP system i

  • Photoshop cs6 trial download

    Hi, I will like to ask how to download photoshop cs6 on mac 10.6.8 that has intel core duo, and does it support 64bit and is there alternatives for people who are still using intel core duo computers to use photoshop cs6 thank you@

  • Help: Install FFMPEG, Mplayer & Mencoder, Flv2Tool, Libogg, LAME MP3

    Greetings, I am having a hard time finding ANY how-to's for installing the bits to run a video enabled script/site on OSX (Leopard 10.5.6) Server. I am considering moving my sites from a (crap) Linux dedicated server to a Mac Mini colo service. I am