Asynchronous Processing in Forms 9i

Here's what I want to do:
I have an external PL/SQL routine invoked by form A which inserts records into a database table.
I want to show, in real time, the data being written to this table by the routine invoked by form A.
Here's what I did in 6i:
Prior to invoking the routine, form A called form B with run_product(forms, asynchronous etc..). Form B then sat there checking for updates to the table and displaying them when it found them while Form A went on doing its business.
My question:
How do I do this in 9i? run_product is now unsupported for calling a form, and neither open_form nor call_form will let form A carry on while form B is working. I tried web.show_document as suggested elsewhere in this forum, but the new browser window didn't open until form A had finished what it was doing which is no use.
Is there a far easier way of doing this? Form B has no user interaction, it's just displaying data written to a table as it's written. Is there an asynchronous trigger that I could use in a field on Form A instead? How else can I do this?

Ok, i have created a form A with the following code in a WHEN-BUTTON-PRESSED :
declare
     lc$url varchar2(1024);
Begin
     lc$url := 'cmd /c START "appli" IEXPLORE.EXE "http://f3sieg2kdegrell:8888/forms90/f90servlet?form=D:\Projets\Atena\Forms9i\Designer\MODULE2.fmx&userid=ATENA/MAGNOLIA2@atenadev"' ;
host( lc$url ) ;
message('debut insere lignes');synchronize ;
insere_lignes; -- stored procedure that insert rows
message('fin insere lignes');synchronize;
end ;
And a form B with a timer wich fire every second and do the following code in the WHEN-TIMER-EXPIRED :
go_block('the_block');
execute_query ;
AND IT WORKS !
this is the code of the stored procedure :
CREATE OR REPLACE PROCEDURE insere_lignes IS
BEGIN
     delete from TEST ;
     for i in 1..50 loop
          insert into TEST (nom)
          values ( 'NOM_' || ltrim(to_char(i)) );
     commit ;
          dbms_lock.sleep( 1 ) ;
     end loop ;
END;

Similar Messages

  • Design Time for Processes and Forms

    Hi experts,
    When trying to open  "Design Time for Processes and Forms" in order to create a process, I get a dump.
    Could you let me know what could be wrong ? config? etc..
    Hereunder is a sample of what I found in T.code ST22
    The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
        referenced node must exist
          READ TABLE object_hierarchy_nodes TRANSPORTING NO FIELDS
                     WITH KEY node_id = object_hierarchy_node_wa-ref_node_id
    >>>      ASSERT sy-subrc = 0.
        ENDIF.
      provider has to be specified (except in case of recursion)
        IF object_hierarchy_node_wa-ref_node_id IS INITIAL.
          ASSERT object_hierarchy_node_wa-provider_id IS NOT INITIAL.
        ENDIF.
    Thanks in advance,
    Louis

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

  • Error: var g_objCurrentFormData_Error : There has been an error while processing the form

    Hi,.
    I have a InfoPath 2010 form which was published to SharePoint 2010.  I migrated the content db to SQL Server 2012 and I have converted the Sharepoint 2010 (windows based) to the SharePoint 2013 claims based site. I have not fully upgraded the site to
    2013 version (Version upgrade to SP 2013) is not done..
    In the InfoPath 2010 form, which is available in SP 2013. I have a button and on click of it, i have the below code:
    XPathNavigator domNav = MainDataSource.CreateNavigator();
    XPathNavigator fldUserurl = domNav.SelectSingleNode("/my:myFields/my:TaskUrl", this.NamespaceManager);
    if (!string.IsNullOrEmpty(fldUserurl.Value))
    string urlToDecode = HttpUtility.UrlDecode(fldUserurl .Value);
    HttpContext.Current.Response.Write("<script type='text/javascript'>window.open('" + urlToDecode + "','_self','left=20,top=20,width=500,height=500,toolbar=1,resizable=0');</script>");
    HttpContext.Current.Response.Flush();
    HttpContext.Current.Response.End();
    The above code works fine in SharePoint 2010, however after moving the Site to SP 2013 Claims mode, I am getting the error as
    "var g_objCurrentFormData_Error = [[[12,"There has been an error while processing the form.","","","guid"]],[],0,"","",1033,"","",["0","","","","","",0,0,"",0,false],"","0",false,"",0,"","http:\u002f\u002ftest-t1.com\u002fs\u002fTestApplication","ltr","http:\u002f\u002ftest-t1.com\u002fs\u002fTestApplication",6.35202885373882E+17"
    In the SP Logs, i found the below:
    Unhandled exception processing request for PostbackPage Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException: Exception of type 'Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException' was thrown.   
     at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentFormId()   
     at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentContext()   
    How to fix this?
    Thanks

    Hi Venkatzeus,
    please let us know your sharepoint 2013 latest cumulative update, if possible please make sure it is March 2013 update or above.
    as i know, between 2010 infopath and 2013 there are difference, perhaps if you can debug your form it may help.
    most probably there are environment settings difference between 2010 sharepoint and 2013 sharepoint. such as the data connection size/length, that causing it failed, or the form data is NULL.
    http://infopathdebugger.codeplex.com/
    http://www.infopathdev.com/forums/t/26330.aspx
    http://social.technet.microsoft.com/Forums/en-US/5c9d2fce-0fd8-439c-a636-bf856eb76e15/how-to-retrieve-term-store-management-values?forum=sharepointgeneralprevious
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • InfoPath form, rich text fields, "There was a form postback error" InvalidOperationException, There has been an error while processing the form

    Using InfoPath 2013 browser enabled form.
    I am getting the above error on ALL Infopath Designed Rich Text fields, where the "Cannot be blank" attribute is set.
    To reproduce it, I create a custom list and custom list form with InfoPath 2013. I add 2 Rich Text fields and enable "cannot be blank". To raise the error, I put some data in the RT field. Skip to another field (so focus is changed and a postback
    occurs), then back to original field to delete the contents (to raise the validation).
    I originally thought it was associated with the HTMLCHKR.DLL not being registered (and I have re-registered it just in case), but the exception I get from the ULS logs reads (it is from a list AFTER I have re-registered the DLL):
    There was a form postback error. (User: 0#.w|myDomain\jc, Form Name: Template, IP: , Request: h t t p ://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/Item/newifs.aspx?List=2212ff41-77b4-445b-931b-d7e538c9da91&Source=h t t p://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/AllItems.aspx&RootFolder=&Web=3db49106-bdca-47bb-b4cd-a549d2d86aa7,
    Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2015-01-16T21:51:48:853Z, Type: InvalidOperationException, Exception Message: No content generated as the result of the operation.) 8cc5e09c-3665-903b-575a-faaac506c40a
    I noticed that errors associated with the HTMLCHKR.DLL not being registered would have some sort of COM exception (example: TYPE_E_LIBNOTREGISTERED or REGDB_E_CLASSNOTREG)
    I also should mention that this problem started happening about 3 weeks ago. We have extended the web application to handle HTTPS on the intranet zone (we had a reverse proxy project that did not eventuate) - would that cause something? How can I do further
    checking?

    Hi,
    I have done a test in my SharePoint, and I met the same issue with you.
    I created a custom list and custom list form with InfoPath 2013. I added 2 Rich Text fields and enabled "cannot be blank".  I put some content in the RT field, then delete the contents, I got the error message:"there has been an
    error while processing the form."
    Here is a similar post said that executing the command: regsvr32 "C:\Program Files\Common Files\Microsoft Shared\
    OFFICE14\htmlchkr.dll" will solve the issue.
    https://social.msdn.microsoft.com/Forums/en-US/eb2e0f6e-c8e4-4e92-ac5e-a09d72759eda/rich-text-field-error-in-webform?forum=sharepointcustomizationprevious
    But I just disabled "cannot be blank", and it solved the issue.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • HCM Processes and Forms: Work Item is not opening

    Hi,
    We are implementaing HCM processes and forms using NWBC (EHP7 - HR Renewal 2.0 FP1) and after using configuration of POWL inbox for MSS and HR Admin, We are not able to launch the Work Item.
    1) In MSS Work Book, while launching, we are getting message  -
    Failed to resolve Object Based Navigation target ".MSS_WL.NAVIGATE_FORM_WD". Use transaction PFCG to define this OBN target in a role or contact your system administrator to assign a role with the relevant OBN entries to your user.
    2) For HR Admin, we are getting message - Work Item can only be open using Portal and UWL. and it is displaying back end transaction SWNWIEX.
    Detail configuration steps are shown as below -
    Workflow Task used in configurations -
    1) Entries in IBO_C_WF_TA_P_SC  (Assign Task ID’s to POWL Types)
    2) IBO_C_WF_ACC configuration - (Define Tasks and Actions)
    3) IBO_C_WF_APC configuration (Provide Details of navigation parameters)
    4) IBO_V_WF_TTAC (Assignment of Actions to the Tasks)
    5) IBO_C_WF_TAC (Specify Default Action)
    Error -
    1) MSS -
    2)HR Admin -

    Hi Guru,
    Any input..its urgent!.
    Regards,
    Vijay

  • Dump while Executing Hrast_dT (Design time of HCM Process and Forms)

    Hi All,
    I am getting Syntax Error Dump while Executing Hrast_dT tcode (Design time of HCM Process and Forms) and here with i have mentioned the source code also ist contained in standard class.
    *METHOD constructor.
      DATA:
        badi_context          TYPE REF TO lcl_badi_context.
      CALL METHOD super->constructor
        EXPORTING
          form_scenario         = form_scenario
          form_scenario_service = form_scenario_service.
      DATA:
        t5asrfscnsrv_wa TYPE t5asrfscnsrv.
      SELECT SINGLE * FROM t5asrfscnsrv INTO t5asrfscnsrv_wa WHERE form_scen_srv EQ form_scenari
      ASSERT sy-subrc EQ 0.
      ASSERT t5asrfscnsrv_wa-service_type = 'GENSRV'.
      fill_table_metadata( ).*
    i followed this link also..its not working for me..
    [Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3]
    Regards,
    Parthi

    Hello Parthasarathi,
    Please, try to implement the note 1075650.

  • Error in MSS HCM Processes and Forms Overview

    Hi all,
    Currently we are working on ESS/MSS from NW 7.3 portal.
    When i open HCM Processes and Forms Overview from MSS, it prompt me to change the password again and again.
    And on some user HCM Processes and Forms Overview not shown properly.
    Error while processing your query
    What has happened?
    The URL call http://<host name>:1080/sap/bc/webdynpro/sap/asr_pa_pd_processes_display was terminated because of an error.
    Note
    The following error occurred in system BEQ : Parameter has invalid value: Parameter TSTMP1 has invalid value 0 .
    The error occurred on application server MUMSAP02_BEQ_00 and in work process 8 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: SUBTRACT of program CL_ABAP_TSTMP=================CP
    Method: SUBTRACT_TIMESTAMPS of program CL_HRASR00_PROCESS_UTILITIES==CP
    Method: GET_CURRENT_TIME_DATA of program CL_HRASR00_PROCESS_UTILITIES==CP
    Method: START_TRACKING of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: IF_COMPONENTCONTROLLER~START_TRACKING of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: HANDLEDEFAULT of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: HANDLEDEFAULT of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
    Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
    What can I do?
    If the termination type is RABAX_STATE, you will find more information on the cause of termination in system BEQ in transaction ST22.
    If the termination type is ABORT_MESSAGE_STATE, you will find more information on the cause of termination on the application server MUMSAP02_BEQ_00 in transaction SM21.
    If the termination type is ERROR_MESSAGE_STATE, you can search for further information in the trace file for the work process 8 in transaction ST11 on the application server. MUMSAP02_BEQ_00 . You may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system adminmistrator.
    Error Code: ICF-IE-http -c: 350 -u: ISHAJI -l: E -s: BEQ -i: MUMSAP02_BEQ_00 -w: 8 -d: 20130514 -t: 133514 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION -X: D4AE5218F8121ED2AF8DA00F61FBEAC0_D4AE5218F8121ED2AF8DA00F5D19EAC0_1 -x: 006DBCE20F7BF1E58AC0D4AE5218F812
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please suggest me the solution.
    Regards,
    Devendra

    Dear Andrea,
    I reset the password of backend user and gave sap_all and sap_new role.
    Last time it prompt the screen in mss as to change the password. (See above screen shot).
    But after reset the password...error showing instead of login screen in mss as below:
    Error while processing your query
    What has happened?
    The URL call http://<host name>:1080/sap/bc/webdynpro/sap/asr_pa_pd_processes_display was terminated because of an error.
    Note
    The following error occurred in system BEQ : Parameter has invalid value: Parameter TSTMP1 has invalid value 0 .  
    The error occurred on application server MUMSAP02_BEQ_00 and in work process 7 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: SUBTRACT of program CL_ABAP_TSTMP=================CP
    Method: SUBTRACT_TIMESTAMPS of program CL_HRASR00_PROCESS_UTILITIES==CP
    Method: GET_CURRENT_TIME_DATA of program CL_HRASR00_PROCESS_UTILITIES==CP
    Method: START_TRACKING of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: IF_COMPONENTCONTROLLER~START_TRACKING of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: HANDLEDEFAULT of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: HANDLEDEFAULT of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/LA89BHH7CSECCUXGQD7Z==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
    Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
       What can I do?
    If the termination type is RABAX_STATE, you will find more information on the cause of termination in system BEQ in transaction ST22.
    If the termination type is ABORT_MESSAGE_STATE, you will find more information on the cause of termination on the application server MUMSAP02_BEQ_00 in transaction SM21.
    If the termination type is ERROR_MESSAGE_STATE, you can search for further information in the trace file for the work process 7 in transaction ST11 on the application server. MUMSAP02_BEQ_00 . You may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system adminmistrator.
    Error Code: ICF-IE-http -c: 350 -u: IKHASU -l: E -s: BEQ -i: MUMSAP02_BEQ_00 -w: 7 -d: 20130514 -t: 175940 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION -X: D4AE5218F8121ED2AF923E065A39EAC0_D4AE5218F8121ED2AF923E394271EAC0_1 -x: F091BCE2D132F1D58AC0D4AE5218F812
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    I checked log in ST22 as below
    What happened?
        The exception 'CX_PARAMETER_INVALID_RANGE' was raised, but it was not caught
         anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_ABAP_TSTMP=================CP' has to be
        terminated.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_PARAMETER_INVALID_RANGE', was not
         caught in
        procedure "SUBTRACT_TIMESTAMPS" "(METHOD)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        Parameter has invalid value: Parameter TSTMP1 has invalid value 0.
    Regards,
    Devendra

  • Use HCM processes and Forms without using the Enterprise Portal

    is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
    1) Create an Adobe form and Interface using SFP
    2) Set up ISR and Form Scenario
    3) Set up Forms configuration to use existing Backend and generic Services
    4) Set up workflow to updated Backend using Services
    is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
    Any ideas will be greatly appreciated.
    Thanks,
    Saurabh

    Hi Saurabh,
    your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
    The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
    In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
    Best Regards
    Michael Bonrat - Solution Manager HCM Processes and Forms
    Info about HCM Processes and Forms:
    www.service.sap.com/erp: 
    - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms

  • Error while Accessing the HCM process and forms

    Hi All,
    We have implemented HCm process and forms. Everything was working fine earlier but for past few days we are facing an issue after selecting an employee and clicks on the select process we are getting the following error. Kindly povide the solution.
    The following error text was processed in the system GOA : Component Usage OADP_USAGE Does Not Have an Active Component
    The error occurred on the application server sapgoa_GOA_37 and in the work process 4 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: ENSURE_ACTIVE_COMPONENT of program CL_WDR_COMPONENT_USAGE========CP
    Method: GET_INTF_CONTROLLER_INTERNAL of program CL_WDR_COMPONENT_USAGE========CP
    Method: IFWDR_INTERNAL_API~GET_INTERFACE_CTLR_DELEGATE of program SAPLWDR_RG_PROXY_FACTORY
    Thanks & Regards,
    Sreelatha Gullapalli.

    Hi,
    In EhP4, the employee search is created using OADP framework . And if the relevant configuration is not maintained , I mean there is a view cluster where the applications (PA/PD) and relevant object types are maintained.
    If this is not maintained, this creates a error. Please check .
    Hope this helps.
    Best Regards
    Saujanya

  • Change of Position in MSS with Process and Forms

    Hi,
    I'm trying to create authorizations for a change of position in Process and Forms, but every time that I choose a new position to the employee I get the error, No authorization, with this details:
    No authorization
    Message no. 5A277
    Diagnosis
    You are not authorized to perform this activity.
    System Response
    The system cancels the activity you have tried to perform.
    Procedure
    If necessary, you can maintain missing authorizations in Customizing. Please remember that both the standard authorizations and the structural authorizations are checked.
    I have managed to change the position and create positions in SAP with t-code PPOME, but in the MSS Portal it doesn't work.
    I use authorization with context ( S_ORIGINCON ) with a FM in the structural profile that returns my objects ( O, S, P ). I also have personnel planning authorization ( PLOG ) for the returned objects.
    Any help to overcome this problem will be greatly appreciated.
    Regards,
    Diogo Silva.

    Hi there,
    We stop using SAP code to manipulate the infotype 0001, and started using our own code throw generic services I guess (Not my part of the project).
    The problem was that in a change of position for a new created position or even for an existing position there was a need for access to the default position OBJID='99999999'. That's why when you give authorization for object OTYPE=' ' and OBJID = ' ' you will not get an error, because it gives authorization for all objects, witch defeats the purpose of security.
    If you debug the functions used by the portal (MSS or ESS) you will see that in some FM on the call stack there is passed a flag that controls wether or not there is a authorization check for that default position.
    Basically ww stop using the SAP code, and started calling this FM (BAPI, etc) ourselves, and them we manipulated that flag so that we could circumvent the error.
    I hope it was clear, sorry if it was not, truth be told it was a long time since I finish that project.
    If you need anymore help just let me know.
    Regards,
    Diogo Silva.

  • Default value in dropdown field for FPM form in HCM Processes and forms

    Hi Experts,
    I am developing HCM Processes and forms using FPM forms and I had a dropdown list contains ten values. So, every time while opening the form first time, my dropdown field should be defaulted with fifth value from the list. How can we achieve this in dropdown field related to FPM Form.
    Please guide me.
    Regards,
    Nayani.

    You would have to assign the default value to one your custom generic services.
    Regards.
    PS: There are posts which talk about generic services , make yourself comfortable with the concept of generic services.

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • Workflow could not start in HCM process and Forms

    Hi All
    It would be really helpful if you can suggest possible solution regarding case management case in HCM forms and process.
    I have set up a simple custom HCM process and Form regarding Infotype 2 updation. I have checked the process and form consistency and it seems fine. Now when I run the process from HRASR_DT it generates a process number but it also gives an error workflow could not start.I get following error (SWIA log - Step history)
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Exception occurred - Error when starting work item 000000007031
    PROCESS_NODE - Error when processing node '0000000014' (ParForEach index 000000)
    CREATE - Error when creating a component of type 'Step'
    CREATE_WIM_HANDLE - Error when creating a work item
    CREATE_VIA_WFM - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event CREATED and (target) status
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->ERROR
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Executing flow work item - Work item 000000007031: Object FLOWITEM method EXECUTE cannot be executed
    Executing flow work item - Error when processing node '0000000014' (ParForEach index 000000)
    I have searched few SAP notes such as 1384961 which talks about same error but it is implemented in our system (EA-HR 604 , Patch 27, )
    Appreciate any help.
    Thanks
    Umang

    Hi Swati
    One of the similar (not exact) issues were resolved by correcting the event linkage....please refer thread:
    http://scn.sap.com/message/14848795#14848795
    Not sure of the details of the the resolution, maybe Ragavendran Kanagaraj can throw more light.
    Just some high level checks (if not done already):
    Check event linkage errors in SWEQADM if anything is related to your WF
    Check in SWEL if it's showing any more details (not sure if it will)
    Any warnings in syntax check of WF template (PFTC) or WF definition (SWDD)
    Any error sin binding
    regards,
    Modak

  • 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

Maybe you are looking for

  • "error in processing the WS-Security security header" - calling ws OIPM

    Hi All, We are trying to integrate Ebiz and OIPM, when we send request from ebiz to AxfSolutionMediatorService WebService we are getting below error InvalidSecurity : error in processing the WS-Security security header <ns2:exception xmlns:ns2="http:

  • Premiere Elements 3.0 -- Q. about transitions

    Hello! I don't know if anyone else has the dinosaur that is Elements 3.0 (ha!) but that is what I am currently using.  I am putting together a DVD slideshow of old family photos for a Christmas present.  Does anyone know if there is a button I can cl

  • Adobe AIR background process throttled at 5%

    I'm creating an air application that downloads stuff from the web (through httprequest...irrelevant though). Oftentimes, while the content is being downloaded (roughly 200mb of data), the user will alt+tab away, putting the air app in the background

  • Send Data in format 0000000066field1|value1|field2|value2 through BPEL

    hi We have a requirement where we need to send data in the following format: <10byte length>field1|value1|field2|value2. we need to use socket adapter in BPEL to send data to client system. In the socket adapter we are using outbound synchronous requ

  • Intel Mac Mini: possible to remove Airport card?

    Is it possible to remove temporarly the airport extreme card from an Intel Mac Mini to use the card in another Mac having a free Airport Extreme slot? That is, Intel Mac Minis have a "standard" airport card already mounted inside, or the built-in air