No parallel BPM instances

Hello people, good morning!
Could someone explain me how can I avoid two instances of an integration process to be running at the same time?
As I receive many starts of an Integration Proccess in a short period of time I would appreciate to enqueue the execution of each one for performance reasons.
Thank you,
Alessandro.
Message was edited by:
        Alessandro Reichert

If you are on SP 10 on PI this is possible by configuring just a single Queue for your BPM instance.
More in this guide,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0e73c7b-5301-2a10-f1ab-832f301b6c02
Regards
Bhavesh

Similar Messages

  • ** Is it possible to create new BPM instance for each record (Multiline)

    Hi friends,
    In my scenario, JDBC adapter (sender) polls the open purchase order items from the table at the specified interval and send to BPM. In BPM, we used transformation step to split the messages to process each PO . The scenario is working fine. The problem is assume that if we process 10 PO, the error is in  4th PO while process, the BPM will be stopped in 4th PO. Once we correct the error, we are able to restart.
    In this case, we are not able to skip the 4th PO and process from 5th PO onwards. ie. the processing is sequential. Instead, we want to start new BPM instance for every PO. Advantage is that if 4th PO is error, only that BPM instance (work item) will be stopped. Remaining 9 POs will be completed.
    So, how do we start new BPM instance for every PO ?
    Kindly tell me, friends.
    Thank you.
    Kind Regards,
    Jeg P.

    Hi,
    There are two ways to achieve this.  In BPM and before BPM.
    Before BPM:
    Use 1 to unbounded mapping and 1 to unbounded interface mapping.
    In your mapping, make sure you create a seperate message for each PO.
    In BPM:
    Create a multiline container with you POs using a 1 to n mapping.
    Now add a ForEach block to loop through the multiline container and send each PO.
    Important:  Add an exception branch to catch any exception for each send so that the exception does not make the BPM fail.
    Regards,
    Yaghya

  • OracleJSP error while integrating BPM Instance Details Task Flow

    Guys,
              I'm using 11.1.1.6 jdeveloper and BPM.
    I have a requirement to show BPM 'Process Instance Details'  (which contains 'Details', 'Open Activities', 'Audit Trail' etc.. for a BPM Instance).
    I followed the following Link to implement this ....
    http://soadev.blogspot.com/2011/07/adf-uishell-application-with-oracle-bpm.html
    Everything was working fine.
    But when i click on 'Graphical View' in 'Audit Trail', i dont get the graphical view. Instead i get the following error message...
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 1, oracle.jsp.parse.JspParseTagScriptlet@16b871b3
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Any pointer to solved this problem?
    Thanks in advance
    Dev

    Did you check these post ?
    https://forums.oracle.com/thread/993257
    https://forums.oracle.com/thread/1097866
    http://middiu.blogspot.com/2012/02/oracle-webcenter-spaces-and-webxml.html

  • Data persistence for the different BPM instance

    Hi,
    My scenario is
    I am sending the data from IDOC to IDOC.
    I have run one instance of the interface and successfully processed. I want to use the BPM container values to be persistant for the next instance of the BPM run.
    Is there any way to save the container values available for multiple instances of the interface?
    Thanks
    Mohan

    Hi Mohan
    Short answer: no. You cannot do this.
    However, BPM has a mechanism specifically designed for associating otherwise separate messages: correlations. Basically, by defining a suitable correlation, separate messages are sent to <i>the same BPM instance</i>, thus allowing you to do whatever it is you need to do related to multiple messages.
    If this isn't the type of thing you are looking to do, post some more details of your usage scenario so we can give a more qualified answer.
    Best regards,
    Thorsten

  • Max Number of CC-BPM Instances

    HI all,
    We have a scenario where we have customer master record scattered  many lines of one file so we have decided to
    use CC-BPM .But our requirment is like we have to keep alive 20,000 to 30,000 or more CC-BPM instances at a time . Can anybody tell me how it will affect in the stability of XI server(In terms of Memory and Load on server)
    Thanks for your time.
    Regards,
    Tuhin

    If possible, try to use branching within a single ccBPM instance, instead of independent ccBPM instances. 
    Each BPM process internally is an SAP Workflow instance, and there could be performance problems due to the WF-BATCH service user logging in for each workflow instance. You could do some XI tuning, but it is recommended to start with a better design, than tune a bad design.
    Please share your problem and experience in this forum, would like to know how you fare. thanks.

  • How to change the value of project data in the BPM instance?

    Hi Everybody,
    I have a situation that after the bpm instance was created. We found that one of the project data/variable contains the incorrection information. Is it a way we can change the value of that project data/variable? I checked the BPM workspace, as administrator, there are not function for it and we can't stop/withdraw the instance. Can we change the MDS database for it? Please advise. It is so important for us that will stop us to move on of our project.
    Thanks

    As per my knowledge we can not change the value of BPM project variables from outside BPM. If you look at PAPI API also you will find methods to get values from BPM but not to set to BPM.
    If this is daily issue for your application then change your design to add a Edit Data Activity (Screen) and then use Grab functionality to get the control to this Edit Data Activity to change the required data.
    Else if it is an issue with the only one instance then it is better to Abort this instance and re-create the instance with correct data. Changing value in the MDS database is not encouraged.
    Hope this helps.

  • Adding Attachment to BPM Instance when initiated via IPM

    Hi,
    I've successfully done a BPM process instance creation from IPM. Now my requirement is to add attachments which are required for a human task inside BPM and that too from IPM side. Is that possible to attach documents from the IPM (Documents originally located in UCM) to BPM instance?

    Thanks for your response.
    Yah, What you said is correct, the document URI is the field which can hold the document URL (which is used for mapping payload with respective fields) that is used for initiating the BPM instance. My problem is I want to include the attachments too.
    For Example,
    customerdata.csv is the document which is going to initiate the respective BPM process. I want to include the ID_Proof.pdf (either document as attachment in the attachment section of the BPM process or UCM link of that document) with instance that is to be created.
    According to your answer, the document uri field can only hold the link for customerdata.csv but not the ID_proof.pdf.
    Please help me regarding this.

  • Stop a running BPM instance

    Hi All,
    I tried a BPM with 2 receive steps(to understand corelation). Accidentally, I sent a wrong msg to receive1 which has no corresponding msg for receive2. So this BPM instance is running waiting for its corresponding second msg(which is never going to come). Now how can I stop this BPM instance? Will the BPM instance stop itself automatically after waiting a particular amount of time?
    Thanks & Regards,
    Jai Shankar.

    Dear Jai,
    This might help you
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c071d7bb-0601-0010-d6b8-f4e4dc7f1e20
    Never ending loop: Stop BPM Process
    Regards
    Agasthuri Doss

  • BPM instance migration

    Hi,
    I have a question regarding bpm instance migration.
    Since PS4FP BPM support instance migration of running BPM instances. A very nice and usefull feature. When changing the BPM process, the change done has impact on the possibility to automatically migrate the instance. I encountered three options:
    The change to the underlying process is minor --> the process instances are migrated automatically
    The change to the underlying process is more complex --> the process instances need to be migrated manually
    The change to the underlying process issignificatnt --> the process instance cannot easily be migrated at all. Must be done manually
    As we have a lot of running process instances we want to avoid manual migration as much as possible. So when changing the process we want to try to make it a minor change. Is there documentation available describing what causes the instance to be migrated manually or not migratable at all?
    Bye, aldo

    Aldo,
    Any luck with the document for instance migration? I could find only one blog which I referred to - https://blogs.oracle.com/ateamsoab2b/entry/bpm_11g_deployment_instance_migration . I was facing some issues with the manual migration part - altering the request through process workspace.
    Can you please share any document you have on this topic.
    Thanks,
    Bhaskar.

  • Restart BPM instance

    Hi All,
    I use a BPM to send message to a third-party system which is time to time off-line. In my BPM I use a loop to send the message maximumly 10 times. After times, this BPM should end.
    I need to manually restart this BPM if the message  is not successfully delivered  to the third-party system after 10 retries . But as I know , a BPM instance can be restarted only when it runs into error status.
    So after the loop, I create a bock to raise a exception to make the BPM end with a error if the message is not delivered to the third-party system.    As expected, the BPM instance goes into error status, but I get an error "the workflow cannot be restarted" when I triy to restart it.
    Regards,
    Hui

    HI Hui,
    A BP is restartable when the error is not caught by an exception branch or raised by control object. So just let the last attempt of the failing interface raise an error without catching it.
    Kind Regards,
    Frank

  • PAPI-Add/Delete/Retrieve BPM Instance's data and attachment for an instance

    Could you please me tell me how to Add/Delete/Retrieve BPM instance's data and attachment for a new as well as running instance using PAPI. Is it possible to have
    a sample code.
    Thanks,
    Ben.

    Hi Ben,
    Start with this thread that shows you how to create a new work item instance in a process and pass in input argument variables to the new instance as it is created:
    Creating a new work item instance in a process using PAPI
    Here's a thread that shows how to retrieve variables from an instance:
    Re: Instance info using PAPI in studio
    Here's a thread that shows
    1. how to run an activity in the process and pass in arguments using the "runActivity()" method,
    2. How to run a Global activity and pass in arguments (runGlobal() and
    3. How to send in a notificationto a notificationWait activity using the "sendNotificationInstance()" method:
    Re: Acces Oracle BPM Process through Standalone Java Program
    Finally, you can use the session.instanceAttach() method to attach a file to an instance.
    Hope this helps,
    Dan

  • Start BPM instance from soapUI

    Hi all,
    I want to start an instance of a BPM process by using soapUI. I enabled WS-RM and WS-A but I get the following error:
    <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <SOAP-ENV:Header>
          <To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</To>
          <Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</Action>
          <RelatesTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:18bf251f-6f8e-46b2-a107-54ee9e8a6432</RelatesTo>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <SOAP-ENV:Fault>
             <faultcode xmlns:dPrf="http://www.sap.com/NW05/soap/features/wsrm/">dPrf:N/A</faultcode>
             <faultstring xml:lang="en">Error during obtaining data for Sequence ID: dPrf:ProcessException. No relevant data available in DB.</faultstring>
             <faultactor>Server</faultactor>
             <detail>
                <yq1:com.sap.engine.services.wsrm.exceptions.ReliableMessagingException xmlns:yq1="http://sap-j2ee-engine/error">Error during obtaining data for Sequence ID: dPrf:ProcessException. No relevant data available in DB.</yq1:com.sap.engine.services.wsrm.exceptions.ReliableMessagingException>
             </detail>
          </SOAP-ENV:Fault>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Somebody got an idea how to solve this? Starting in instance from the WSNavigator or VC is possible, but for automated testing, I would like to use soapUI.
    Thanks!

    Hi,
    Change your WSDL file you will have a tag
    <wsp:Policy ... />
    add to that tag the following lines
    <wsp:Policy ... >
    <sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
    <sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
    <saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
    <saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
    </wsp:Policy>

  • Wrong association of IDOCs to multiple BPM instances w/ correlation

    hi mates,
    Background
    We have an issue with a BPM that collects DIRDEB.PEXR2002 IDOCs using the correlation on Company Code & some other fields. The BPM is similar to BpmPatternCollectTime. The deadline branch triggers after 10 mins. It has been running successfully until we are hit by the issue below
    Issue
    There were 3718 IDOCs that have been sent from R/3 in 10 min window which have the same value for correlation. As per the design, all the IDOCs were supposed to be received by a single instance of the BPM. However the IDOCs have been received by 3 instances of BPM (1458, 1502 & 758 IDOCs). I'm surprised to see this behavior and I'm wondering what is wrong/missing in the design/config.
    My Observations
    I looked at the tech details of the 3 instances and observed that the all 3 instances have same correlation values.
    The time windows that 3 instances have been executed did not overlap with each other.
    This made me think about how the BPE has assigned these IDOCs to instances. I looked at the SAP help on [Configuring Inbound Processing|http://help.sap.com/saphelp_nw04/helpdata/en/44/3a6c6d55e402bfe10000000a11466f/content.htm] and made sure the config on SWF_INB_CONF has the Delivery Mode - Buffering Possible & Queue Assignment - One Queue.
    I see in the SXMB_MONI that all the IDOCs are put in the queue 'XBQO$PE_WS90000010' which is as per the Queue Assignment - One Queue.
    Did any face this kind of issue? Any idea why this is happening?
    Let me know if you need any additional info. I greatly appreciate your inputs.
    thx in adv
    praveen

    HI Praveen
    I have not faced the similar situation but i think Tunning of XI message size may help. As that determine the in/out message size
    BPM collected 1458, 1502 & 758 so did u check if the message size is equal for these number. check it may be you get clue on this
    Thanks
    Gaurav

  • Parallel ActiveX instances

    Hello,
    I am trying to run two Signal Recovery 3830 multiplexers using a single Labview VI, but I have run into repeated difficulties.  The instrument manual says to simply open up multiple instances of the instrument's ActiveX library (SR3830Comms) to communicate with multiple multiplexers.  However, some test VIs I wrote seem to connect to only one multiplexer at a time.  Using a simple Windows test program, I have independently verified that both multiplexers are connected properly to the computer, and that I can connect to each individual one separately.  I have attached my test program, which attempts to connect to both instruments and then allow for inputs to each of them.  Am I coding this (in particular, the use of multiple ActiveX instances) properly?  If not, how should I go about opening multiple ActiveX instances in parallel?  Thank you for your help.
    Note: this was written using Labview 2010.
    Attachments:
    two_mux_test.vi ‏20 KB

    Most of us (like me) aren't going to have that ActiveX installed, so it's hard to say. Other than your inputs are named the same, I see nothing glaringly wrong. I would name the inputs differently - such as tack on the serial numbers.
    Have you tried opening & setting up the two ActiveX sessions in series, then read in parallel?
    Richard

  • Parallel workflow instances

    Hi Experts,
    Need help for the scenario on which i am working..
    SAP System: ECC 5.0
    Scenario:
    1) Material master workflow is triggered through a customized event and  we are passing material number
    and Sales Org as the object key for Business Object.
    3) Based on the Sales Org, plants will determined using a background task.
    2) After this we have to send tasks(for creating a view) to the agent, for a plant and material combination
    and these tasks should be in parallel. number of plants can be more than 100.
    3) Once all these parallel tasks is completed then workflow should continue .
    4) other workflow task based on material and sales org combination...
    For sending parallel task for a material and plant combinations (Point 3), i can trigger a seperate workflow.
    so there will be n instance of this new workflow based on material and plant combination.
    But my concern is How workflow will know that all the workflow instances of new workflow is completed
    for the material for which main workflow is triggered.
    Please suggest.
    Please let me know if there is a some other way for sending parallel task from the workflow..
    Thanks,
    V

    I will create a new step and pass the remaining plants using the same Table-Driven Dynamic Parallel Processing .
    Again i have a issue, there will be multiple parallel task created but how i will know which particular task is related to which plant.
    I want to pass the plant name in the Task description, how i can do that...
    I will a create a new thread for this issue.
    Regards,
    Vargi

Maybe you are looking for