Mid-process Receive (onEvent) is not picking up published event

We have a composite (CompositeA), which has 2 BPEL processes (bpelprocess1 and bpelprocess2). bpelprocess1 is synchronous and bpelprocess2 is a one-way. bpelprocess1 receives a message from the client - then sends the message using a one-way Invoke action to bpelprocess2 - bpelprocess2 transforms the message and assigns some values - then sends the message to Event1 through an Invoke action - bpelprocess1 has a Receive activity waiting for an event from Event1 - then it will send the message back to the client as the Reply. Everything works up to the point where the bpelprocess1 Receive(onEvent) activity is waiting for an event, it sits in this "Pending" state until the SyncMaxWaitTime value has expired and then we get a timeout error (see below).
"Waiting for response has timed out. The conversation id is null. Please check the process instance for detail."
So our question is, why does the Receive(onEvent) in bpelprocess1 never pick up the published event? We've run some additional tests to ensure the event is being published, and that has been confirmed.
Is it possible to receive an event that was published during the current instance of the process (i.e., since bpelprocess1 invoked bpelprocess2 which invoked the Event1 publish, can bpelprocess1 perform a mid-process Receive of the event that was just published?
Please let us know if this makes sense or if you have any additional questions.
On a side note, if we create an independent mediator component in the same composite and have it subscribe to Event1 as well, then just write the message out to a file. It would not pick up the message from the EDN in the scenario described above, if we set the property nonBlockingInvoke=true or bpel.config.transaction=requiresNew on the bpelprocess2 partnerlink from bpelprocess1, the Mediator would get the message from the EDN, but bpelprocess1 still timed out waiting for the event. If we setup another BPEL process (bpelprocess3) in the same composite (though not linked to bpelprocess1 and bpelprocess2) and it has a mid-process receive onEvent listening for Event1, it does not pick up the published event either, so seems to be an issue with the mid-process receive onEvent in the synchronous BPEL process.
Any help is appreciated.

Thanks for the reply, but there is no issue with the one-way from bpel1 to bpel2, we do not expect nor want a response from bpel2, it should just publish the event and complete. The bpel1 should continue it's flow (which it does) and the next action is a Receive action listening for an event (that was published by bpel2), but the Receive never finds the event.
Here's a less complex use case:
1. bpelprocess1 is a synchronous process which publishes to Event1 (this completes successful and returns a success message to the client)
2. bpelprocess2 is an asynchronous process which has a mid-process Receive action that is listening for Event1
3. bpelprocess3 is a process which is initiated by Event 1
If we execute bpelprocess2 it will set at the mid-process Receive action in a PENDING state, waiting for Event1 to occur.
If we then execute bpelprocess1 the Event1 is published and we receive a "SUCCESS" response back.
At this point bpelprocess3 is initiated (b/c it's initial Receive is triggered by Event1)
We would also expect the mid-process Receive in bpelprocess2, which is in a PENDING state to trigger, but it never does.
Hopefully this use case makes more sense.

Similar Messages

  • Each Mid-Process Receive/Invoke spawning new instance

    I have the following flow in my interface:
    Composite1 -> BPEL 1 & BPEL 2
    Composite2 -> BPEL 3
    Mock Service in OSB -> Writes the data to JMS Q (Say Q1)
    BPEL 1 -> Gets trigerred by passing input,do some validations,invoke the mock service(Internally puts data into Q1), then post the data into another JMS Q (Say Q2) and then have a mid process receive on Q3, after listening updates the response and reply to the client with the same.
    BPEL 3 -> Polls Q1 and put data into Q4 with some value in JMS Correlation ID.
    BPEL 2 -> Gets triggered as soon as we get the data in Q4,just after this receive we have another receive on Q2, Correlation happens here and then data is put into Response Queue (Q3).
    As in each BPEL we have to set Create Instance = Yes for the first receive, so I have done the same in all the 3 BPEL's.
    So I expect 2 instances of Composite1 and 1 instance of Composite 2 to come when I run the interface.
    But, I am getting 4 instances of Composite 1 and 1 Instance of Composite 2.
    Can any one please advise on this.I am facing lot of issues because of this.
    PS: The correlation is happening on each mid process receive.
    Edited by: 914654 on Feb 7, 2013 2:38 AM

    Hi,
    You have to use correlation sets in BPEL as well... JMS Correlation ID only won't be enough... Have a look at this...
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_async.htm#CIHBIEEJ
    Cheers,
    Vlad

  • Receiving Open Interface not picking Inter-Org records from Interface

    Hi,
    I am trying to receive the inter org transfer through the Receiving Open interface, but the interface not picking the data from the interface tables (RCV_HEADERS_INTERFACE, RCV_TRANSACTION_INTERFACE).
    I am in 11.5.10.2, all the sources worked fine like Vendor, Internal Order, Customer but the issue is with the Inventory source (inter orgs)
    Please could you advise what could be the reason for the interface for not picking the Inventory source data from the interface table.
    Below are the interface insert script that am using..
    INSERT INTO RCV_HEADERS_INTERFACE
    (HEADER_INTERFACE_ID,
    GROUP_ID,
    PROCESSING_STATUS_CODE,
    RECEIPT_SOURCE_CODE,
    TRANSACTION_TYPE,
    AUTO_TRANSACT_CODE,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN,
    CREATION_DATE,
    CREATED_BY,
    SHIPMENT_NUM,
    RECEIPT_HEADER_ID,
    SHIP_TO_ORGANIZATION_ID,
    EXPECTED_RECEIPT_DATE,
    EMPLOYEE_ID,
    VALIDATION_FLAG
    VALUES
    (rcv_headers_interface_s.nextval , --Header_Interface_Id
    rcv_interface_groups_s.nextval, --Group_Id
    'PENDING', --Processing_Status_Code
    'INVENTORY', --Receipt_Source_Code
    'RECEIVE', --Transaction_Type
    'DELIVER', --Auto_Transact_Code
    SYSDATE, --Last_Update_Date
    -1, --Last_Updated_By
    -1, --Last_Update_Login
    SYSDATE, --Creation_Date
    -1, --Created_By
    'ICR-001', --SHIPMENT_NUM
    21073573, --RECEIPT_HEADER_ID
    2266, -- SHIP_TO_ORGANIZATION_ID
    SYSDATE+1, --Expected_Receipt_Date
    5543, --Employee_Id,
    'Y' --Validation_Flag
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    (INTERFACE_TRANSACTION_ID,
    GROUP_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    TRANSACTION_TYPE,
    TRANSACTION_DATE,
    PROCESSING_STATUS_CODE,
    PROCESSING_MODE_CODE,
    TRANSACTION_STATUS_CODE,
    CATEGORY_ID,
    QUANTITY,
    UNIT_OF_MEASURE,
    ITEM_ID,
    AUTO_TRANSACT_CODE,
    SHIPMENT_HEADER_ID,
    SHIPMENT_LINE_ID,
    SHIP_TO_LOCATION_ID,
    RECEIPT_SOURCE_CODE,
    TO_ORGANIZATION_ID,
    DESTINATION_TYPE_CODE,
    DELIVER_TO_PERSON_ID,
    LOCATION_ID,
    DELIVER_TO_LOCATION_ID,
    SUBINVENTORY,
    LOCATOR_ID,
    HEADER_INTERFACE_ID,
    VALIDATION_FLAG,
    SHIPPED_DATE
    --SELECT
    VALUES
    rcv_transactions_interface_s.nextval, --Interface_Transaction_id
    rcv_interface_groups_s.currval, --Group_id
    SYSDATE, --Last_update_date
    -1, --Last_updated_by
    SYSDATE, --Creation_date
    -1, --Created_by
    -1, --Last_update_login
    'RECEIVE', --TRANSACTION_TYPE_RECEIVE
    SYSDATE, --TRANSACTION_DATE
    'PENDING', --PROCESSING_STATUS_CODE
    'BATCH', --PROCESSING_MODE_CODE
    'PENDING', --TRANSACTION_STATUS_CODE
    203, -- CATEGORY_ID
    20, --QUANTITY
    'EACH', --UNIT_OF_MEASURE
    4379131, --ITEM_ID
    'DELIVER', --AUTO_TRANSACT_CODE
    21073573, --SHIPMENT_HEADER_ID
    16566939, --SHIPMENT_LINE_ID
    101629781, --SHIP_TO_LOCATION_ID
    'INVENTORY', --RECEIPT_SOURCE_CODE
    2266, --TO_ORGANIZATION_ID
    'INVENTORY', --DESTINATION_TYPE_CODE
    13706, --DELIVER_TO_PERSON_ID
    101629781, --LOCATION_ID
    101629781, --DELIVER_TO_LOCATION_ID
    'FG', --SUBINVENTORY 
    46259, --LOCATOR_ID  
    rcv_headers_interface_s.currval, --Header_interface_id
    'Y', --VALIDATION_FLAG 
    SYSDATE
    Thank you,
    Genoo
    Edited by: Geno on May 25, 2013 4:54 AM

    Any suggestion/advise please!
    Thanks,
    Genoo

  • 'Move order pick slip report' Report not picking XML publisher Template.

    Hi,
    SUB: i have to create one XML report on .RDF(move order pick slip report).
    Submitting procedure move order pick slip report : i have created one Discrete Job and released that Job, then Component pick release for that particular job. then move order number will generates. then automatically fires the 'Move Order Pick Slip' Report.
    NOTE: what i meant to say is i am not submitting the report from SRS window. it will fires automatically when Component pick release.
    For this i have taken .xml and generated .rtf according to my layout and i have registered with XML publisher also.it is correct . But while running the report i am geting output as XML codes not in template(wht i have .rtf) format.
    if i have to see the output in template from. (i have taken in conc program output as XML also) still same problem.
    please help me if anybody having solutions.
    Thanks
    Valli

    Hi Valli,
    1:The first thing i would suggest that please check the BI Publisher version you are using (on apps/and on template builder also).
    2: In any case if your report is not picking up the template and generating the xml output , i suggest you to attach one program "XML Report Publisher" in your SRS.
    Oncwe you run your report and its generate the xml output. you have to take the request id & from view ---> submit request--->XML Report Publisher. run this request again.
    it will ask for the request id , select the appropriate request id and it will generate the pdf output as per your requirement.
    But this is temporary solution , i strongly recommend you to check the updated version of BI Publisher and instaal it on your oracle apps instance. also use the updated version of bi publisher for Layout(Template Builder).
    Regards
    SRatnesh

  • While creating the Transfer Order system is not picking Sale order stock?

    Hi All,
    In the B2B  process the system is not picking the stock from from sale order stock while creating the transfer order? Please suggest.
    Summary : Here we are creating the PR in the sale order and STO is created using the same PR to procure the materials from the WM plant to sale order plant. Since here intialy we are moving the stock to our sale order in WM plant and then picking the same. But while creating the Transfer order system is not picking the sale order stock in WM plant.
    Regards.

    C S Javali
    Check in schedule line in transaction flow whether Transfer Req /assembly is checked or not
    Regards
    Pradeep

  • External Microphone Not Picking Up Sound

    Hello,
    I recently bought a product that works better with an external micorphone headset. This was my first time ever using one with my laptop. When I went through the set up process, the microphone was not picking up any sound and I could not hear anything through the external headset.  I tried using both the microphone and headset port as well as different headsets with the same result. The headsets work fine on other devices. 
    When I use just a plain headset connected through the headset port, I can hear just fine. 
    I went to Control Panel>Hardware and Sound>Sound>Manage Audio Devices to troubleshoot, but nothing worked. I tryed updating the latest drivers and was told the latest are already installed. 
    The Product Name is : HP Pavilion dv7 Notebook PC
    The Product # (NOT serial number) is : B5R46UA#ABA
    The External Mic is called: IDT High Definition Audio CODEC
    Please advise,
    chriscinthed
    This question was solved.
    View Solution.

    Hi @chriscinthed ,
    You can do a system restore. System restore will help if something automatically updated and did not go well on the Notebook. It will also fix the sound.
    When performing a System restore please note remove any and all USB devices and the headset. Disconnect all non-essential devices as they can cause issues.
    In talking to Rosetta Stone says the headsets for use with there software is for USB connected headphones Plug and Play technology. The other computers you have tried do they have Beats Audio.  To enable or disable Beats Audio, press the fn key in combination with the b key. The Jack does have influence on the Beats Audio which might need to be turned off. Then try the Mic.
    Did you ensure that you are plugging the Mic headset into the selection for headsets on the Notebook.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Calendar Theme Not Picking Up Events

    I have a "today" calendar theme that is now not picking up all events.  I understand that the theme does not pickup "all day" events.  I am speaking about the events with times.  My other themes will pick them up, but not this particular one.  So, for example, my Blackberry with this theme shows events taking place in about two weeks, but not any current ones.  Any suggestions.  Thanks.  Phil

    PhilNH wrote:
    I have a "today" calendar theme that is now not picking up all events.  I understand that the theme does not pickup "all day" events.  I am speaking about the events with times.  My other themes will pick them up, but not this particular one.  So, for example, my Blackberry with this theme shows events taking place in about two weeks, but not any current ones.  Any suggestions.  Thanks.  Phil
    Hi and welcome to the forums!
    There are a large number of themes with the Today previews. If your other themes are picking up the correct info, I would
    say the device data and database are fine. If that assumption is correct, I would see the theme builder.
    KB14646 Calendar preview and calendar notifications are not displayed when using the BB Today theme
    Thanks,
    Bifocals
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • AP - Payment Process not picking up Invoices

    Hi All,
    I am running the payment process from AP(Payments Manager).I have created 5 Invoices on 12-Dec-2013 and have attached the Pay Group. Once i run the payment process with the pay group none of my invoices has been picked up for processing.I have given the date range from 01-Dec-2013 to 13-Dec-2013
    Please help i need close this task ASAP
    Regards

    Hi,
    What are the payment terms on the invoices? If these are not IMMEDIATE, and the payment is not due, the system would not pick them up until they are due.
    What is the payment method on the invoice and in the PPR? Are you running the PPR for electronically paid invoices but the invoices are set to be paid by check?
    Are there any holds on the suppliers you are trying to pay?
    What are the other parameters you gave when running the PPR? It helps to check those against the invoice to make sure they would qualify.
    Information about the pararameters you are using and one of the invoices to be selected would be helpful.
    Cheryl

  • JConsole not picking up local Java processes

    Hi,
    Using JDK 1.5.0_06 JConsole is not picking up my local Java processes. I have set the -Dcom.sun.management.jmxremote as an arg to the JVM startup. My Windows username does not have an underscore in it and my default temporary directory is on NTFS. When I run the jps command I see my java processes but I get process information unavailable for each one except the jps command.
    Anybody have any ideas as to what else I should look at.

    Found the answer I was looking for - What a pain - http://forum.java.sun.com/thread.jspa?threadID=730397&messageID=4308804

  • Process order not picking up a batch...

    Hello gurus,
    I have created a process order for a mater FIN in which iam using a RAW...but when i create a process order for the FIN and go to MIGO to do a GI, its not picking up a batch of RAW automatically and instead i have to pick a batch manually...
    Any suggestions much appreciated
    Sri.

    HI
    1.you have to assign the batch in COR2 for the components.
    or
    2.you have to use batch determination process
    COB1 - is used when you want to do Batch Determination in Production / Process order itself.
    MBC1 - is used during Goods issue / Goods Transfer
    For doing Batch Determination on the basis of any characteristic you have to maintain sort rule.T.code is CU70.
    go with link
    http://www.sap-img.com/sap-sd/some-light-on-batch-determination.htm
    forum answer
    batch determination
    -ashok
    Edited by: Ashok Keerthipati on Dec 18, 2008 11:24 AM

  • Process not picking up my control

    Hi
    I have a process that runs some sql
    insert into test
    (test)
    values (:P28_SS_ID);
    and it is not picking up the value in P28_SS_ID
    there is a definately a value in there
    anyone any ideas why?
    Thanks in advance

    sorry no idea, it just started working
    ill get use to this system one day

  • Order type is not picking while converison Plnd to process order

    Dear Dudes,
    i have maintained production scheduling profile in all material masters in which order type is specified. while converting planned order to process order order type is not picking.
    thanks in advance.

    Robert,
    Since you are using same order type for both MTS & MTO, you can define this order type "PI01" in the MRP plant parameters using transaction OPPQ in the Conversion of Planned order section.
    I am not sure, why production scheduling profile is not working for you, hope you are using the Production scheduling profile configured using CORY transaction check this part alone.
    Regards,
    Prasobh

  • Receiving Transaction Processor not processing PENDING records

    Good day,
    I have pending records sitting in the RCV_HEADERS_INTERFACE, RCV_TRANSACTIONS_INTERFACE and MTL_SERIAL_NUMBERS_INTERFACE. The PROCESSING_STATUS_CODE is set to "BATCH". But when I run the Receiving Transaction Processor nothing happens. The records are still in the interface tables as pending and the PO_INTERFACE_ERRORS table does not get populated with errors.
    Kindly help by suggesting what I'm doing wrong. Why is the processor not picking up the records?
    Thanking you in advance.

    How are you trying to receive the items. Is it through iProcurement or Core Purchasing Forms?

  • When trying to install a digital copy, everything works including the downloading, until it is processing to iTunes then I receive "You do not have enough access privilages for this operation. Check the disk to make sure it is clean and retry." error.

    When trying to install a digital copy, everything works including the downloading, until it is processing to iTunes then I receive "You do not have enough access privilages for this operation. Check the disk to make sure it is clean and retry." error.
    Tryed several times, Same Results. Tryied rebooting, logging out & into iTunes, Same Result. Seems to do this error with every digital copy, but works eventually. But now will not post digital copy to my iTunes at all. Just same error over and over.
    Any Thoughts??

    Oddly enough. I think I just solved it. It looks like, for some reason, my computer has about 8 different "iTunes music" folders, and I've been saving my music to the wrong one. Neat. Music now imports and plays as it should. Copying things over is going to be so fun tonight!

  • I am having issues deactivating my version of CS4. I receive an error message stating unable to connect or that my firewall or proxy settings are interfering with the process. I do not want to uninstall until i can deactivate as i wish to use a copy on an

    am having issues deactivating my version of CS4. I receive an error message stating unable to connect or that my firewall or proxy settings are interfering with the process. I do not want to uninstall until i can deactivate as i wish to use a copy on another laptop

    Hi K8tym,
    Please refer to below article.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    Thanks

Maybe you are looking for

  • How do I tie my wife's apple ID with my itunes account?

    I have had an itunes account for a while.  She just purchased an iphone and we of course want everything tied together so that she can order things but have them added to our household Itunes account. Can her id be somehow tied to my itunes account?

  • Export Pivot table data to a Excel file

    Hi All, I am using OBIEE 10.1.3. In my asnwers I am displaying the Pivot view and want to export the results to a excel sheet.The dowlnoad option is not coming for Pivit view. In case of compound view I am able to see the download option to export to

  • Nokia 5800 does not connect to 3g

    Hello Everybody, I have just switched to 3g services here in chennai,india(BSNL btw) and i am having issues with my 5800 to connect... If i select UMTS, there is no signal for the network,whereas if i select dual mode i get only GSM. I have tested th

  • Need help nokia 5230 FW update

    hi i have a nokia 5230 but when i try to update it the phone says there is no update available but when i go to the nokia site there is a new one available how do i update my firmware from version 20.2.098 to version 50 Attachments: 41YIZB45eTL._SL50

  • Where do I find my PS just downloaded on my Mac?

    Just downloaded PS on my Mac and I can't find where to go open and work.