Return data in Asynchronous Process

Hi gurus of BMP. I have this requirement:
In a BPM Asynchronous Process (no BPEL process), I need to return some data and then continue the process. I did that in BPEL and it was just fine, but in BPM I don't know how to do it. I'm using JDeveloper 11.1.1.5, no Feature Pack.
Please, anybody can tell me if this is possible?? Can provide me any link or docs for this requeriment?
Regards and thanks in advance.
PS: This have nothing to do with this post but, can also anybody help me with the thread below? I will appreciate any help:
Start Event Signal is not getting call

Hi Daniel, thanks a lot for your quick answer. I'm afraid that I considered and tested it but I see no results after the invocation, I mean, no data is displayed in the EM when I call the service. If you already tried your suggestion please tell me how you did it.
Thanks again for your answer.

Similar Messages

  • Asynchronous processing support

    I can't find anything about asynchronous processing in the documentation for ODP.NET, am I missing something, or is this a future enhancement?
    OO4O documentation extract.
    ===========================
    Non-Blocking Mode
    In non-blocking mode, control is returned to the application immediately even if the execution is not complete. This allows the application to execute other tasks which are not dependent on the results of the last execution.

    Async command execution in ADO.NET are slated for version 2 of the .net framework.
    http://msdn.microsoft.com/data/default.aspx?pull=/library/en-us/dnvs05/html/async2.asp
    Support in ODP.NET would have to follow that.
    For many senarios you can use .NET threading to run commands on background threads. You just can't share an OracleConnection between threads.
    David

  • Error while updating Date Field on Process Form.

    Hi,
    I am using java code to pre-pop date on the process form.First I used a java code whic took java.sql.date as input and returned the same java.sql.date.But it gave an error that:java.lang.String cannot be converted to java.sql.date.......
    So I changed the java code and now it takes string as input and returns java.sql.date. This code works fine for Pre-pop adapter and the date is populated on the process form.
    But when i use the same code in a Process Task adapter to update the date, then it gives the following error:
    ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: Adapter Execution Error: updateDataObjFieldValuePost: error updating UD_OID_USR_DATE_OF_BIRTH
    ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: {1}
    Can anyone suggest any method to update date field on process form?

    Hi Abhi,
    Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
    Regards,
    Sunny Ajmera

  • ORA-01403 - No Data Found - Error processing validation

    Dear all
    I hope to find a solution for this error.
    ORA-01403 - No Data Found - Error processing validation
    Best Regards

    Dear Patrick,
    Thank you for your response.
    I solved or worked around the problem by adding exception handling lines to the end of all PL/SQL validation functions used in this page
    For example, if a function used in equation, it is not allowed to return null so I made it return 0 in case of exceptions (as in below code)
    -- NO_DATA_FOUND is ORA-01403
    EXCEPTION
    WHEN NO_DATA_FOUND THEN return(0);
    Sincerely Yours
    Mahmoud Rabie

  • Using CRUD procedures to update data and ref cursors to return data

    Hi:
    I am currently evaluating Apex 3.x to replace an existing app that uses lots of procedures to update and return data.
    1. Is it possible to return data from a function that returns a cursor (or from a procedure that has an input/output ref cursor parameter for that matter) ? Example: Let's say I have the following function in a package:
    function get_data return sys_refcursor
    is
    l_cursor sys_refcursor;
    begin
    open l_cursor for select sysdate as field from sys.dual;
    return l_cursor;
    end;
    Can I add a page with a table that is populated based on this function? Based on my research it is not possible, but I want an APEX expert to confirm it
    2. The old application uses CRUD procedures to update date, that is for each table there are 3 procedures, insert update and delete. Question: is it possible to channel all the update, inserts and deletes through these procedures? Furthermore, in lots of cases I use sequences to populate the primary keys, and the new value is returned as output parameter. Can I retrieve the output value and use it maybe in the next page I am branching to?
    In the samples that I've seen the same form is used for insert and update. How do I distinguish between the two modes?
    3. Can you please point me to some samples that show how to do 1 & 2. The standard samples that I've seen use the automatic row processing.
    4. Could you please recommend some good books about Apex or HTML db? I found the documentation unintuitive. It is hard to picture quickly how things tie together by reading this documention. I wish the documentation was more task oriented and presented 'how to...' implement generic patterns used in web apps.
    Thank you in advance

    Hi guys
    Check out the last 2 posts in this thread for ideas on how to implement 1.
    Report on user data from LDAP
    Varad

  • Fault in initializing asynchronous process

    Hi Guys,
    As many posts and articles suggest, asynchronous process is better because of its flexibility. I am very happy with it until I encounter the following problem.
    We do the fault handling on all of our processes, using both the catch and fault policy framework. For asynchronous process, we use a separate invoke to return the fault. Recently, we noticed a problem. For some reasons, every Sunday when the production BPEL server restarts, there are always a few BPEL process turned retired and off. We've already raised a service request for this on metalink. But this causes another very serious issue:
    The calling BPEL instance sends a request to initiate the asynchronous process . As it is turned off and retired by accident, the initialization fails. However, as it's asynchronous, the calling process is not notified, which means there is no fault raised on the calling process. This causes a lot of trouble because we are not notified with the problem. This has never been a problem because we did not have process turned off and retired before.
    This can be easily verified by a simple test case. Create a synchronous process A and an asynchronous process B. Let A invoke B. Then turn off and retire B. A instance can still be executed successfully without saying the problem calling B. If B is a synchronous process, A will always report a fault in such situation.
    Of course, the domain log file records this ORABPEL-02106 problem. but we don't want to check log file all the time and want to be notified when it happens. Is there a way to catch such exception/fault in the calling process?
    Thanks in advance!!!
    Steven
    Edited by: sw12345 on Jul 26, 2010 9:41 AM

    HI Sridhar,
    Thanks for you advice. I think I will do the following:
    1. I will still keep all process as asynchronous with the deliveryPersistPolicy as default.
    2. I will add a cron job to scan the server whenever it restarts to detect any default version of BPEL process with a retire or off status. If there are, I'll correct them.
    3. I will implement the program to re-submit the failed invoke. But I cannot make it an alert program because I cannot get detail fault through IInvokeHandle (Please correct me if I am wrong).
    By the way the defect of the "ClassCastException" is fixed in 10.1.3.5, I guess that can upgrade that too :-)
    Thanks,
    Steven

  • Fault Handling in Asynchronous process

    Hi,
    I want to know how to throw fault from an Asynchronous process to the calling process. In a synchronous process we generally throw faults using fault message in 'process' port type. But Im not sure how to throw a fault from Asynchrnous process to the calling process that can be caught in the catch block of the calling process.
    Can some one update me with the feasibility of this.
    Thanks,

    Hi,
    Look inside the Oracle® BPEL Process Manager Developer's Guide at http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/faults.htm#BABIBAFC
    8.8.2 Returning a Fault in an Asynchronous Interaction
    In an asynchronous interaction, the client does not wait for a reply. The reply activity is not used to return a fault. Instead, the BPEL process returns a fault using a callback operation on the same port type that normally receives the requested information, with an invoke activity.
    Example
        <portType name="BPELFaultHandling">
            <operation name="initiate">
                <input message="client:BPELFaultHandlingRequestMessage"/>
            </operation>
        </portType>
        <portType name="BPELFaultHandlingCallback">
            <operation name="onResult">
                <input message="client:BPELFaultHandlingResponseMessage"/>
            </operation>
            <operation name="onError">
                <input message="client:BPELFaultHandlingErrorMessage"/>
            </operation>
        </portType>On the caller side you have to use one invoke followed by a pick activity waiting for onResult or onError callback.
    Best Regards,
    Harald Reinmueller

  • IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP Only asynchronous processing supported

    Hello Expert,
    Error while send IDOC
    " IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP Only asynchronous processing
    supported for IDOC Adapter" is returned.
    Please suggest
    Thulasi

    Hi,
    Make sure that you have mentioned the Recever message interface as Async mode
    Here it is saying that IDOC suports only Async that means some where else u have mentioned as Sync interface
    Regards
    Seshagiri

  • Re : what is diffrent Between  Synchronies and   Asynchronies  process

    Hi ,
          what is diffrent between Synchronies and   Asynchronies  process in  session Method and call Transcation method  pls give one Example...
    Thanks
    Arief .S

    Synchronus data processing is that in which the program calling the update task waits for the update work process to finish the update before it continues processing.
    In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.
    A BDC done with sessions is always synchronus.
    A BDC with call transaction is by default asynchronus
    unless you define it explicitly as
    call transaction 'XXXX' ...... update 'S'.
    ( If you donot define update option it is defaulted to "A" ).
    The update method is of importance when one transaction locks data which may be required by a subsequent transaction . The subsequent transaction will fail if data is locked from previous one. An example would be you are creating sales order for same material in succession ( with asynchronus update ). Quite likely that some of transactions would fail due to material locked.
    For large volume of data Call Transaction will be faster but you have no restart capability here. Suppose from 1000 transactions 100 fails . You will have to run the BDC program again exclusing the ones which wrere successful. However with session method you have the option to process the error transactions again in SM35 . So if you are sure that errors will not occur use call transaction else use session method.

  • Asynchronous processing options.

    On a CF9 system which of the various Asynchronous options would the group-think consider the easiest and best to implement for the following purpose.
    I have a file on one server that does some initial processing.  When done sucessfully it posts a received file to another server.  I want it to NOT wait for a response from that server.  Rather I just want the request to finish and return an initial response to the client that contacted the first server.
    Here is the code where The file is posted to an internal server.
    <cftry>
         <!--- Submit POST request to the internal server with to deliver the XML file --->
         <cfhttp url="http://#application.internalServer#/pur-loader/ws/ppur_int_v0.cfc" method="post" multipart="yes" timeout="0">
              <cfhttpparam name="incomingFile" type="file" file="#cffile.serverDirectory & '/' & cffile.serverFile#">
              <cfhttpparam name="method" type="url" value="receiveData">
         </cfhttp>
         <cfcatch type="any">
              <cflog application="yes" file="PPUR" type="error" text="HTTP Request to the Internal Web service failed.">
              <cfrethrow>
         </cfcatch>
    </cftry>
    I thought the timeout=0 was a very old method to generate an Asynchronous process.  But, apparently I am wrong or this is no longer true.  As this code does not work.  The <cfhttp...> tag is waiting for a response and is timing out from the request time out not the http timeout, do to the interal process is going to take serverl minutes or more.
    Would a <cfthread...> work well here?  My concern in the number of threads that can be spawned.  The initial template may be accessed upwards of 60 times in a relatively short time.  Would creating 60ish long running threads with the <cfthread...> be of concern?
    Would a gateway improve that situation in any way?
    Are there other Asynchronous options I am overlooking?

    your problem could be timeout="0"...i dont think it is a good idea to use zero...and <cfhttpparam is missing some pounds around variables...

  • How to return data from Ejb as collection to Front End application.

    Hi,
    I am creating a J2ee application. Here i am accessing BAPIs using stateless session bean through JCO connection. Now the BAPI is returning a return Table and return Structure to the EJB.
    I have coded the following code in one of the Ejb Method as follows:
    JCO.Table returnTable = null;
    JCO.Structure returnStructure = null;
    JCO.ParameterList paramList = siteBAPI.getExportParameterList();
    JCO.ParameterList paramList2 = siteBAPI.getTableParameterList();
    returnTable = paramList2.getTable("SITE_SUBSITE_INSTL");
    returnStructure = paramList.getStructure("BAPIRET2");
    Now i want to sent this data( returnTable & returnStructure) to front end application where front end developer accessing this returned data using Jsp.
    My scenario is that , first i want to convert this returnTable & returnStructure in a single collection and then sent this collection to Front end.
    My aim is that , the front end the application should not receive the Data, using JCO.table Variable but as a single Collection.
    I am using NWDI-2004s sps10.
    i need urgent help on this issue and i would really appreciate if somebody can put the answer with some sample code on how to return the data as Collection.

    if you want to return a result, then you probably shouldn't be using a message bean. message beans for for asynchronous tasks. session beans for for synchronous tasks. thus it would make much more sense to have your jsp call the session bean directly.

  • How to execute procedure returning data rows from sql plus

    Hi,
    I want to execute a stored procedure that returns data rows from sql plus. please let me know the syntax for the same.
    Thanks,
    YG

    user13065317 wrote:
    Even if i get the result set into the cursor, do i have to do normal fetch into all the coumn variables within a loop
    But suppose no of columns in my result set varies depending on a parameter to the stored procedure.
    Is there any straightforward way to retrieve all the data irrespective of no of columns in the result set.There is no such thing as a "+result set+". Oracle does not create a temporary data set in memory that contains the results of your query. What would happen if this result set is a million rows and is too large to fit into memory? Or there are a 100 clients each with a 100,000 row result set?
    This is not scalable. You will be severely limited in the number and sizes of these "+result sets+" that can be created in server memory.
    A cursor is in fact a "program" that is created by compiling the SQL source code that you provide. This source code is parsed and compiled into what Oracle calls an execution plan. This is nothing but a series of instructions that the cursor will execute in order to return the rows required.
    Thus the result set is actually the output from a cursor (a program). Likewise, bind variables are the input parameters to this program.
    All SQLs are parsed and compiled as cursors and stored in the SQL Shared Pool. Oracle gives you handle in return to use to address this cursor - bind values to it, execute it, describe the output structure returned by the cursor, and fetch the output from the cursor.
    On the client side, this handle is used in different ways. In PL/SQL alone, this cursor handle can be used as an implicit cursor (you do not even see or use the cursor handle in your PL/SQL code). Or you can use a PL/SQL cursor variable. Or a DBMS_SQL cursor variable. Or a reference cursor variable.
    Why so many different client structures for the very same SQL cursor handle returned by Oracle? Because to allow you, the programmer, all kinds of different features and flexibility.
    The ref cursor feature is the ability to pass this cursor handle around, not only between PL/SQL code, but also from PL/SQL to the actual client process (Java. VB, SQL*Plus, TOAD, etc).
    The primary thing to remember - irrespective of what the client calls this (e.g. ref cursor, SQL statement handle, etc), this all refers to the same SQL cursor in the Shared Pool. And that this SQL cursor is a program that outputs data, and not a result set in itself.

  • Asynchronous process learnings: Why are callbacks skipped?

    Just wanted to log my learnings about asynchronous processes and callbacks.
    I was trying to write a .NET client to invoke an asynchronous process and was not getting anywhere. The process was being invoked successfully but the callback wasn't happening. The visual flow in the console kept saying "skipped callback x on partner y". It appears this happens when the process does not recognize that the incoming invocation is conversational - in other words it does not find the WS-Addressing headers or if present does not understand it. You would notice the same behaviour when you invoke an asynchronous process from the console. This is expected behaviour because the console does not expose a callback.
    So, if you are trying to invoke an asynchronous process from another platform and see the "skipped callback" message, the first place to check is your WS-Addressing headers. Is it present and specified properly? Is the WS-Addressing namespace correct? On the BPEL 2.0.11 version I was testing, newer WS-Addressing versions would not work. I had to switch back to the older "http://schemas.xmlsoap.org/ws/2003/03/addressing" version. Another strange problem I noticed was that it was expecting some bpel attributes such as rootID, parentID in the MessageID header. Without these it would throw a server fault.
    It also helps to write a sample client process in BPEL to invoke the asynchronous process and log the request and callback messages (there are technotes on OTN that show how to do this). This can be compared with the messages produced by your client to debug any problems.
    Hope this information is useful for interested people. I'm yet to test the behaviour on the 10g version. Will keep this thread updated when I do that.

    The migration utility only processes transforms that are created by the user.  If a transform was part of the Data Quality installation, it will not be migrated because the equivalent transform will be installed as part of the Data Services installation. 
    Please read the manual "DS Migration Considerations > Data Quality to Data Services Migration > How transforms migrate" for more details.
    Regards,
    George
    Edited by: George Ruan on Nov 22, 2011 9:04 PM

  • How to view the returned data from a stored procedure in TOAD?

    Hi,
    I created ref cursor in the stored procedure to return data. The stored procedure works fine, just want to view the result in TOAD. The BEGIN... EXEC... END can execute the stored procedure, but how to make the result display?
    Thanks!

    Right click the editor and choose
    "Prompt For Substitution Variables".
    Run for example the following code:
    DECLARE
    PROCEDURE p (cur OUT sys_refcursor)
    AS
    BEGIN
    OPEN cur FOR
    SELECT *
    FROM DUAL;
    END p;
    BEGIN
    p (:cur);
    END;
    The result will display in Toad's Data Grid!
    Regards Michael

  • Can not find Flush Return Data Buffer.vi

    When I try to start my Labview program I get a "Error -70025 occurred at Read Home Input Status.vi" because the Return Data Buffer is not empty.
    I searched for the Flush Return Data Buffer.vi in the Labview library but it is not there.
    Where can I find it?

    Hello Mishka,
    The Flush Return Data Buffer.vi should be located in your functions palette at Vision and Motion>>73xx>>Advanced>>Flush RDB.vi. Alternatively, you can press ctrl+space on your keyboard to open the quick drop menu and then search for Flush RDB.vi. 
    Regards,
    J_Bou

Maybe you are looking for

  • Transferência de Mercadoria com unidade de medida em Caixa

    Boa tarde prezados,      estou com uma dificuldade em um determinado cliente no que se refere a transferência de mercadorias para as filiais. O que ocorre é o seguinte, um determinado item é configurado para comprar em Caixas e cada caixa contém 6 Un

  • HT5128 What happened to Adobe Photoshop on PowerPC (Macbook)?

    I have Macbook and Adobe Photoshop was installed when I bought it.  But recently, I am not able to open this application and it says; "You can not open the application "Adobe Photoshop CS.app" because PowerPC applications are no longer supported." Ho

  • IPhoto 9.4.2, photo stream-add subscriber?

    Hello I cannot figure out how to create a list of subscribers to share my Photo Stream pics. I succeeded in adding photos and have a Photo Stream icon in the Source panel, which shows my chosen photos, but not what? How do I notify someone or add a s

  • Required appropriate JDBC driver for   Oracle 9i

    Required appropriate JDBC driver for Oracle 9i Enterprise Edition Release 9.2.0.6.0.

  • IChat w/ Linksys WRT54G- insufficient bandwidth error

    Hi, I am having trouble doing a video chat with iChat AV 3.1.5. Everytime I try to connect to a friend (using the same version of iChat) I get an error stating there is insufficient bandwidth. I have a cable modem connected over a linksys router and