Flow activity sleeping

Hi,
Sometimes the BPEL process sleeps for 1-3 minutes in the flow activity before executing the branches.
What could be the problem with the flow activities?
I know the flow branches are executed by a single thread and also we did not enable parallel execution.
But the problem is why is it sleeping before executing the branches?
Cheers,
Ravi

the problem is
Instance1 --> starts --> struck in middle
Instance2 --> starts --> struck in middle
Instance3 --> starts --> struck in middle
InstanceN --> starts --> struck in the middle
after few minutes
Instance1 --> resumes
Instance2 --> resumes
Instance3 --> resumes
InstanceN --> resumes --> end
Instead of this I want the server to behave like
Instance1 --> starts --> ends
Instance2 --> starts --> ends
There should not be any break in the middle. When the load is high the server should put the new process creation on hold.
The BPEL server is very frustrating. I would rather use sqlloader and dblink.
Thanks,
Ravi

Similar Messages

  • When a process flow activity takes a long time to run.

    Hello,
    I have a process flow activity that sometimes takes a long time to run so that the process flow never ends. Is it possible that I can set the activity so that during a certain time that this has not been executed automatically flow process to continue?
    I'm Using Oracle Warehouse Builder 11g on Windows Server 2003 R1.
    Greetings and thanks.

    What I've done in the past is just use a small polling procedure (PL/SQL) and a conditional transition in the process flow, depending on what the proc returns (Continue or Fail) then the flow of control in the Process is changed.
    I think the key also is to not have too much paralellism going on too, that way it's easy to streamline the PF and remove slow moving processes to a more linear path (stopping bottle necks on your logical AND).
    Edited by: NSNO on Apr 29, 2010 2:31 PM

  • Hyperlink in Work-flow activity

    Hi all I want to pass a hyperlink in Work-flow activity
    I am getting problem when my URL is more then 66 0r in sometime 77 characters it that.
    It is adding %20%20 in between the URL if it is having more then 66 characters .
    Please help me for resolving the issue

    Hi,
    As there some some charecter limitation to send the link, you need to use the FM SO_NEW_DOCUMENT_SEND_API1. Please see the follwing sample code. Write the code in method and call it within the Task.  Make suer that all the required data should be passed to method through binding.
    DATA:
          lt_user_IDS type STANDARD TABLE OF SWHACTOR,
          ls_user_IDS type SWHACTOR,
          lt_EMAIL_ADDRESSES TYPE STANDARD TABLE OF ADR6-SMTP_ADDR,
          ls_EMAIL_ADDRESSES  type ADR6-SMTP_ADDR,
          lv_STATUS TYPE CFS_STATUS-STATUS_ID,
          Lv_Object_ID type crmd_orderadm_h-object_id,
          ls_document_data TYPE sodocchgi1,
          lt_text TYPE solisti1 OCCURS 0,
          l_document_data TYPE sodocchgi1,
          lt_receivers TYPE somlreci1 OCCURS 0,
          ls_wa_receive TYPE somlreci1,
          ls_text TYPE solisti1,
          lv_link_title  TYPE char50 'Please click here'.
    DATA: lv_link TYPE char200 VALUE 'http://sdfkndggfhjgasdfhasdfhgjhdgfhjasdkljhsdhfjkhjsdfjklhsddfjklhsaddkjghasdjksjkhfjkhjkhsdfjkhasdjkfhjkhsdfkjhjkhsdajklfhjkhkjfhjkh.com'.
    CONCATENATE '<A HREF=' lv_link '>'
       INTO ls_text.
    APPEND ls_text TO lt_text.
    CLEAR : ls_text.
    CONCATENATE  '<H5>' lv_link_title '</H5></A>'
    INTO ls_text.
    APPEND ls_text TO lt_text.
    * Receiver
    Loop at lt_user_IDS into ls_user_IDS.
    ls_wa_receive-rec_type = 'G'.        "SAP User
    ls_wa_receive-receiver = ls_user_IDS. "Mail Address
    APPEND ls_wa_receive TO lt_receivers.
    Endloop.
    Loop at lt_EMAIL_ADDRESSES into ls_EMAIL_ADDRESSES.
    ls_wa_receive-rec_type = 'U'. "Internet User
    ls_wa_receive-receiver = ls_EMAIL_ADDRESSES. "Mail Address
    APPEND ls_wa_receive TO lt_receivers.
    Endloop.
    *This function module is used to send mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        document_data              = ls_document_data
        document_type              = 'HTM'
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        object_content             = lt_text
        receivers                  = lt_receivers
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    *If Mail Send Successful
    IF sy-subrc EQ 0.
      COMMIT WORK.
    *   Push mail out from SAP outbox
      SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.          "#EC CI_SUBMIT
    ENDIF.
    Thanks and regards,
    SNJy

  • How to get the package name of a procedure used in a process flow activity

    Hi all. I'm on OWB 11.2.0.2.0.
    When I used a packaged procedure or function in a mapping operator, I can find out the package.program_unit name by getting the operator's FUNCTION_NAME property. For example,
    OMBRETRIEVE MAPPING '$mapName' OPERATOR '$operName' GET PROPERTIES (FUNCTION_NAME)
    But when the same is used in a process flow activity, I can't find a property name that will give me the same information. I can get the BOUND_NAME, it does not tell me the package name. It must be stored in the activity properties because when you pull up the Synchronize dialog for the activity, it knows the package name.
    Is there a way to get this via an OMBRETRIEVE?
    Thanks.

    ANA, this is exactly what I needed. Thank you so much. I saw REFs also in the OMBRETRIEVE MAPPING/OPERATOR syntax, but went cross-eyed trying to figure out if I could use the same there. The closest I found was GET BOUND_OBJECT.
    Thanks again!

  • Flow Activity Exception Handling Problem

    Hi,
    I am using Flow Activity in my Bpel Process, i am getting some exception in one of flow, but other flows are working fine. Even i have included Catch block for other flow still i am getting fault response.
    Please suggest me how to do exception handling in Flow Activity.
    Thanks in advance.

    Hi,
    just restructure your BPEL process. The 'Flow' activity contains several 'Sequence' activities. Simply ... put a 'Scope' activity inside of each 'Sequence' activity. Then put another 'Sequence' activity inside of each 'Scope' activity ... and put there required logic/activities.
    After that you can create fault handling on these 'Scope' activities. In this way you can handle faults in each flow-sequence.
    Regards,
    Martin

  • Regarding Flow Activity Parallel

    How to ensure that parallel flows implemented through Flow activity are 'really' parallel or Serial ?

    Hi can someone help me please

  • Cancelling an async call in parallel flow activity

    Hi all,
    As known, each branch of a parallel flow activity must be completed for rest of the BPEL execution continues. Let me expose a scenario:
    Imagine you need to get the current market value of the euro. You have 3 different sources of information that deliver the same result. Using parallel flow activity, you perform calls to these 3 sources. Once the first source calls back, it´s not necessary to wait for the others callback, because you already have the information that you need in your hands. How can I cancel the other waiting async calls? In WLI, we set up the parallel flow as AND or OR type. Using AND (+) means that all branch must be completed so that the process continues. Using OR (-) means that once the first branch is finished, the others will be ignored (cancelled) and the process continues. How can I get the same feature in BPEL?

    Hi Gustavo,
    There may be easier way to do this, but somehow it's not striking at the moment. In the meantime, you can try the following and see. If i get more robust and easier solution, i'll post it here.
    Just thinking aloud here:
    1) Throw a fault e.g. ResponseRecieved in each branch as soon as the branch recieves a response. The fault has to be handled in a fault handler associated with a scope containing the parallel flow. You can leave the fault handler "empty" (no-oos) and proceed with the rest of the activities.
    The above should allow the control to proceed with the activities next to the flow.
    OR
    2) In each flow, as soon as you receive a response after receive activity, invoke a callback port type of the rest of the asynchronous calls and send a dummy callback message. This should mark the completion of the receive activities in other branches. I think correlaiton needs to be handled here.
    Please try if you have not already done so and let me know.
    Thanks-
    www.ibiztrack.com
    BPEL/ESB Training:
    http://www.ibiztrack.com/html/oracle-bpel-soa-training.html

  • Need Help in Flow Activity

    Hi,
    i am using flow activity for calling different partner links parallel but as part of response i will be receiving different message types(complex,unbounded) from partners. but as per my requirement i need to consolidate all the messages and prepare one final complex type and send the response back to the caller . please help in how to prepare consolidate complex message type (unbounded).
    Request XSD :
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="orderCreateE">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="orderCreate" type="orderCreateType" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="orderUpdateE" >
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="orderUpdate" type="orderUpdeteType" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="orderDeleteE" >
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="orderDelete" type="orderDeleteType" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="orderCreateType">
    <xsd:sequence>
    <xsd:element name="orderId" type="xsd:string"/>
    <xsd:element name="custId" type="xsd:string"/>
    <xsd:element name="shipId" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="orderUpdeteType">
    <xsd:sequence>
    <xsd:element name="orderId" type="xsd:string"/>
    <xsd:element name="deliveryDate" type="xsd:string"/>
    <xsd:element name="shipId" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="orderDeleteType">
    <xsd:sequence>
    <xsd:element name="orderId" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Response XSD
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="orderManagmentEle">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="orderManagement" type="OrderManagementType"
    maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="OrderManagementType">
    <xsd:sequence>
    <xsd:element name="orderID" type="xsd:string"/>
    <xsd:element name="status" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Response from one the partner link
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="CreateStatusEle">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="CreateOrder" type="CreateStatusType"
    maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="CreateStatusType">
    <xsd:sequence>
    <xsd:element name="orderNumber" type="xsd:string"/>
    <xsd:element name="status" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    thanks in advance
    Guru...

    After the flow is executed, you have the response variables from the individual partner link , create a variable of type unbounded xsd, assign xml fragment to this variable. This should be equal to the number of flows.
    for example if you have 3 flows your xml fragment should be like:- create order element three times...
    <CreateStatusEle>
    <CreateOrder>
    <orderNumber></orderNumber>
    <status></status>
    <CreateOrder>
    <CreateOrder>
    <orderNumber></orderNumber>
    <status></status>
    <CreateOrder>
    <CreateOrder>
    <orderNumber></orderNumber>
    <status></status>
    <CreateOrder>
    </CreateStatusEle>
    once this assign is done then use assign to assign values to this xml like : OutfromPartnerLink1/../OrderNumber -->$unboundedvaraible/CreateOrder[1]/orderNumer ....
    $unboundedvaraible/CreateOrder[2]/orderNumer and so on....
    This a crude way of doing it.. but you will achieve what you r trying to.. also since you know how many partner links this should be doable...
    will let u know if i can think of better approach...

  • Parametized USER_DEFINED process flow activity

    Can someone help? I am attempting to use USER_DEFINED process flow activity to copy a file to another location under a new name.
    The names for the source and destination file will be generated at execution time by a mapping that will create the file.
    The challenge is how do I pass these file names a parameters; a, b to a file copy script I have written.
    You help will be appreciated.

    This should be possible as we have done a similar thing.
    How are the source and destination files generated in the mapping ?
    As our file information was stored in an Oracle table we created a Transformations/Function that queried out the required information (filenames) and formatted it into the required statement for execution.
    This was stored in a variable and could then be passed to the user defined process in the Process Flow.
    HTH
    Paul

  • NonBlockingInvoke in Flow Activity

    Hi I know that setting "NonBlockingInvoke" property to true to one of the partnerlinks in a flow activity will bring in a new transaction/thread to execute the flow in a real parallel manner. What exactly is the drawback if we dont set this property other than that we will have sequential execution.
    Please let me know...
    Regards
    Ramesh KR

    yup per default they are executed one after the other ..
    clemens

  • Process flow - Active Directory integration with Enterprise Portal

    Hi
    I have seen number of documents/forum discussions on integrating Microsoft Active Directory (LDAP) with Enterprise Portal, but unable to find out the process flow for achieving the same.
    I have installed Enterprise Portal 6 (SP13) running on Web AS 640 (J2EE Standalone). The UME is currently configured to use Java database. (i.e datasourceconfiguration_database_only.xml)
    I intend to proceed as below for integrating with Active Directory and integrate with Windows authentication:
    1) Configure UME to use an LDAP Server as Data Source using Config Tool
    http://help.sap.com/saphelp_erp2004/helpdata/en/cc/cdd93f130f9115e10000000a155106/frameset.htm
    2) Configure Enterprise Portal UME i.e http://<host name>:50000/irj - System Administration - System Configuration - UM Configuration
    <b>Should I configure Data Sources & LDAP Server here as I have already configured these using J2EE Config tool (point no.1).</b>
    3) Integrate Windows authentication with EP using IISProxy module.
    I hope the above will enable me to logon to Portal without supplying username and password once you are logged on to the PC using your Windows user name and password.
    Also, any schema updates required to Activie Directory i.e What additional data is stored in A.D.
    I would appreciate your guidance on this.
    Thanks in advance,
    Chandu

    Hi Chandau,
    you wanted that some users are not taken into account by the User Management Engine (UME).
    This behavior can be established by specifying the
    ume.ldap.negative_user_filter property for the LDAP data sources in the data source configuration file. Using this property one can define that all users and accounts that
    match the defined conditions are filtered out by the UME API.
    A detailed documentation can be found in the SAP Online Help:
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/f43541b9cc4c0de10000000a1550b0/
    content.htm
    In the following example of a data source configuration file for Microsoft Active Directory
    Server the attribute userPrincipalName is used as Logon ID of a portal user id (j_user).
    Here the user accounts that have one of the following Logon ID’s (index_service,
    notificator_service and cmadmin_service ) are filtered out.
    <dataSources>
    </dataSource>
    <dataSource id="CORP_LDAP">
    <privateSection>
    <ume.ldap.negative_user_filter>
    userPrincipalName=[index_service,notificator_service,cmadmin_service]
    </ume.ldap.negative_user_filter>
    </privateSection>
    </dataSource>
    </dataSources>

  • Process flow Activity File Exists

    Hi
    Software: warehouse builder 11.1.0.7
    OS: Redhat 5.5
    DB: 11gR1
    I am trying to use the activity "File Exist" on a process flow to know if a file does exist, with two transitions
    one with condition "EXISTS" that ends in success and one with the condition "MISSING", when the file
    exists the process flow acts normal with end success, but when the file doesn't exist the process flow
    just hangs and doesn't finish.
    Am i missing some configuration?

    You have to provide multiple transitions (arrows) out of the file_exists activity and the define the transition conditions (in the transition view section of the window) for success and error. In that case, if the file exists, the flow will continue along the sucess transition path, if it doesn't it will continue down the ERROR path. The error path can then end up into an END_ERROR activity and that will make the process flow stop if the file is not found, just your expected behaviour.
    If you have only a single unconditional transition (arrow) out of the file_exists, the process flow will continue regardless of the FILE_EXISTS activity.
    Regards:
    Igor

  • ESS-MSS Work Flow activation

    Hi Gurus,
    I am new to ESS-MSS, my client is implementign this module. Can any one please tell me what r the steps to active Work Flows to trigger mails for "Absence/Attendance application in ESS" by employee and for CATS Time sheet filling & its  approvals by the manager inMSS& the related tasks.
    r there any standard Work Flows to be called in R/3, if so , can any one tell me the path.
    In Personnel Time Management -> Web Applications -> Leave Request
    do we need to active the Work Flow templet and what input need to be given in fiends New  requet____, Cancellation Request_____, & Change Request_____.
    we are usign ECC6 in R/3.
    Please help,
    Thanks for all the help in advance.
    Regards
    Prasad

    Hi Siddharth,
    Thanks for the replay, but
    System is asking for three Work Flow Teplets they are 
    Path:  Personnel Time Management -> Web Applications -> Leave Request ->Link Absence Type & Workflow Teplets
    WF ID of New Requst:
    WF ID of Cancellation Request:
    WF ID of Change Request:
    Pleae let me know are there any standard Templets for this & also apart from this node is there any whare else we need to asign the WF Templets.
    Regards
    Prasad

  • Can't suspend activity, sleep ... MBP 10.4.7

    Hi all, first of all sorry for my bad english...
    Few days ago my battery crash: after 5 min my computer shutdown. They exchange my bat and now i cant make my computer sleep...
    When i close my computer or when i click on "suspend activity", the screen goes black and few seconds after my ipod try to sync and my computer comes back power on.
    The little light on the front if full bright instead of blinking.
    This problem has start when ive tried to sleep the computer without battery.
    Ive notice when i try to sleep my computer some lines in the "CONSOLE":
    Jul 30 11:47:45 ordinateur-de-bibyfok mDNSResponder: Repeated transitions for interface en0 (192.168.1.70); delaying packets by 5 seconds
    Jul 30 11:47:45 ordinateur-de-bibyfok mDNSResponder: Repeated transitions for interface en2 (10.37.129.2); delaying packets by 5 seconds
    and i got something special in the network: (ive not setup this, i dont know where does it come from oO)
    http://img141.imageshack.us/img141/8675/image1sz6.jpg
    its possible something completly different but its a way to search...
    ive tried to sleep the computer with a new fresh account, same problem.
    Everything is ok: permitions, Hardware test etc.
    Could someone help me ?
    Thanks.

    Allright, you were right the host guest adaptater
    belongs to parralels, but ive completly uninstall
    parallels using appzapper, reboot but still cant
    sleep my computer... :/
    Something must be wrong -- when I uninstalled Parallels Desktop, that network interface disappeared in the Network control panel. You may want to double check that's it's been completely removed.
    As for the sleep problem, I didn't have exactly the same problem you're having, but on my MacBook Pro, it was freezing upon trying to wake up. The way I fixed it was to reset the power manager. Article 303319 provides instructions on how to do this.

  • Parallel processing using flow activity

    Hey, I have two input directories in the same process for two different partnerlinks and I want to use these two directories to input two flat files to two tables simultaneously.I tried using flow to do this parallel process. But the process when uploaded onto the console takes one input file and it fails. It changes the state of the process to 'off'. Can anyone let me know as to what could be the reason? thanks and regards

    Hi can someone help me please

Maybe you are looking for

  • How can i record 2 sources at the same time ?

    Hello. I am a piano tutorial guy on youtube and am always trying to improve on the quality of my vids and so i go tan HD cam to record the videos in HD (canon HV30) . I also have this little app called "midikeys" and all it does is show a piano layou

  • Container a = getContentPane(); - Problem

    Hello Guys, As you can use this method successfuly on for JFrame. Is there any possibility to use it on a JPanel? Basically, I have a class which extends JPanel. I am trying to use this method to design the components very efficiently using .setBound

  • Internationalization into Crystal Reports

    Hi all, is it possible to translate a report automatically from one language to another, with a Crystal Reports function? In other words I want to localize labels used in reports The report was made by Crystal Reports 2008 and the report engine is Ja

  • Why is the amber light glowing when touchpad is active on my Pavilion DV6

    I thought that the amber lights was supposed to glow when the touchpad is turned off but I have just noticed that mine is glowing when active.

  • Do I have a Call Minder Problem?

    I have been going round in circles for weeks trying to find out why when anyone rings my phone they get a recorded "you can't leave a message at the moment" after seven rings and they are cut off before I can answer the phone.  I have not subscribed