BPM Restart

Hi,
I am implementing an in 7.1 but have some doubts about the restart behaviour.
1: My understanding and experience is when the IP fails for any error and there is no exception branch to deal with it, you get the SYSFAIL in the queue and all messages behind it are stuck until the error IP is killed or restarted using sxmb_moni_bpe. Upon restart the process will continue for the failed branch.
2: When an IP fails and an excpetion branch is called, if an Alert is thrown then the process will continue down the exception branch and hence if you restart the process it iwon't begin from the last failure point, instead it will continue down the exception branch and execute any steps along the way there. Also if you handle the error with the exception branch and all subsequent steps are complete successfully then the process will complete successfully, hence you will see no entry in the sxmb_moni_bpe --> restart....
If any of the above is incorrect please let me know. Particularly about the messages getting stuck in the queue behind the errorneous IP. This behaviour is really not good and if in 7.1 there has been something added to get round the issue of queue blockages please let me know,
Thanks

there is no exception branch to deal with it
The BPM should be designed in such a way that you handle the exceptions properly.....let it be Transformation exception or error in receiving back the response in SYNC flow.
Mostly the queues are stuck because the BPM design is poor....however if the system itself goes down during processing, then the queues will get blocked for all the processes....not only for BPM.
Do you have any particular error case in mind which you think could block the queues in BPM-processing
hence you will see no entry in the sxmb_moni_bpe --> restart....
The behavior is perfect.....see if you want that the BPM goes into error state, then instead of raising an alert Throw An Exception.
Regards,
Abhishek.

Similar Messages

  • Synchronous Send in BPM restartable?

    I have a XI scenario with BPM,
    in the BPM, there is a Synchronous send (calling BAPI in another R/3 system - RFC receiver adapter),
    the problem is:
    in case of failure due to target system unavailale, my scenario fails (Sync send fails - while calling BAPI),   is there any way by which i can resend this message or restart the scenario from this point,
    pls help,

    Hi ,
    We can resend the message from the particular point in BPM using Reconciliation concept in BPM once the application errors or system errors would be corrected.....
    Check this one....
    /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
    Thanks,
    Sekhar D

  • Acheive both Options: BPM restart and Raise Exception.

    Hi All,
    I have a requirement in my current project in BPM design.
    In case of any application errors or system errors the BPM process should fail at the step and the exception hadler should catch the exception and information should reach the end user as an Alert.
    But I am facing problem in acheving both the objectives.
    1.If  an exception is occured an alert will be triggered using the control step and the BPM will be successfull and will not be available for restart.
    2.If I am deliberately not handling the exceptions inside the BPM ,it will fail and the BPM will be avaialble for the restart but this time alert will not be triggered.
    Can any one suggest me an alternaive way out for this requirement?
    Thanks & Regards,
    Sunil.

    Hi Sunil
    n case of any application errors or system errors the BPM process should fail at the step and the exception hadler should catch the exception and information should reach the end user as an Alert.
    But I am facing problem in acheving both the objectives.
    1.If an exception is occured an alert will be triggered using the control step and the BPM will be successfull and will not be available for restart.
    2.If I am deliberately not handling the exceptions inside the BPM ,it will fail and the BPM will be avaialble for the restart but this time alert will not be triggered.
    I have faced similar requirement before.
    I don't know this will help or not.
    What we have done is when we get exception, the generated alert message was passed to a data type that do an RFC call to PI system. Which in turn generated the alert messages as email to the concerned people and generate a response message that creates dummy message. Which fails the BPM. We came to know the error received in so that it can be rectified or restarted. This fulfilled my requirement.
    We used the similar method to get rid of message queue when bulk messages entered and restarted automatically
    Thanks
    Gaurav

  • Controlling the no. of retries for a synchronous database request

    I have a synchronous send step in an Integration process to make a query to a database. I want the BPM to stop processing in case the synchronous request is not answered after 3 retries. Can the addition of a wait step in the Integration process help in this case, if it can where should it be added? Also can the JDBC comm channel parameter 'No. of retries of Database transaction on SQL error' help in this regard?
    Edited by: diptee s on Jul 11, 2010 7:55 AM
    Edited by: diptee s on Jul 11, 2010 8:09 AM

    Thats riight. Also this will set the status of BPM to 'Error'
    Now, in my system we have a background job which runs every 15 minutes and resarts all the BPMs which are in error at that moment.
    This allows my BPM to resend the sync message and wait for a response when they are restarted.
    What I want to be acheiving here is that my BPM shud stop after sending 3 such sync send i.e. 1 at the initial start and the other 2 after the BPM restart (due to the above mentioned background job).
    I tried using a deadline branch for this; however whatever time i put in the dealine condition, the 1st BPM which starts never ends and some of the following BPMs wait after the sync send steps has been running for 6 minutes & 2 seconds some others never end like the first one.
    Would you be able to explain the working of a deadline branch for a sync send request?
    Note: I have also tried using a exception branch but this does not allow my BPM to be restrarted and hence send the sync request more than once, in case the first sync send does not receive a response within the HTTP timeout.
    Edited by: diptee s on Aug 8, 2010 11:25 AM

  • Set Message in BPM to System Error - Manual Restart Possible ?

    Hello,
    I'm working on a scenario where two idocs are merged in a BPM. The next step is sending the message in a synchronous RFC (BAPI) to a SAP R/3. Is it possible to set the merged message to the message status 'System Error - Manual Restart Possible' in the SXMB_MONI, when the BAPI returns an Error message?
    When it's not possible, is there an othe possibility to sent the message again, without involving the source system?
    Thanks in advance
    Matthias

    Hi,
    It would be better i think if you use the concept of raising an exception in your response mapping
    please refer:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
    in the response mapping you can check the condition for the responce code from RFC.
    Ranjit

  • Error while restarting BPM which falied in Queue & status is sysfail

    hi all,
    We are trying to restart the BPM which failed with status as SYSFAIL using 'Execute LUW'.
    Error coming is 'Function module does not exist or EXCEPTION raised'
    How can we restart such messages?
    Thanks,
    Mayank

    Hi Mayank,
    i think if there is an error occured in the BPE processing then you might have to restart that work item from SXMB_MONI_BPE.
    so in SXMB_MONI_BPE-continue process following error, check if the integration process is having error in any of the steps and restart it if possible. Afterwards we would be able to restart the BPM queue from SMQ2.
    regards,
    francis

  • Restart of Synchronous messages in BPM

    Hi All:
    I have one scenerio(using BPM). BPM is sending message to JDBC(Asyn lets say system A) and HTTP(Sync lets say system B).
    I am sending message to both system A and B using Fork, but when system B is down I am seeing I got the Error in response and found restart of message is not possible.
    Now if again I send the same message then it will be duplication of records in system A as I am only inserting records in system A.
    How can I achive it in BPM??? so I can avoid the duplication in system A.
    Thanks
    Farooq.

    Hi,
    use async mode to system B
    this way in case of an error it will be restarted
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Restart synchron webservice in bpm

    Hallo,
    how it is possible to restart a synchron WebService in sxmb_moni within a integration process?
    Thanks in advance,
    Frank

    Michal,
    From a BPM, you sure can I have tried this. Dont remember the exact transaction.
    This has been documented in this thread as well, am i missing something?
    System Error u0096 Restart is Not Possible!
    Regards
    Bhavesh

  • BPM: How to Raise Alert and Restart together ?

    The requirement is like this.My Integration Process receives a message, performs a 1:N split and undergoes further processing using Transformation steps. I want to ensure the following in case any one of the Transfofrmation fails(Because of some coding error in the step):
    1. Raise an Alert
    2. Should be able to restart the Process again from the
       failed step once the Transformation code is fixed.
    3. To raise an Alert for any file adapter level errors, 
       and to restart the processing of the message once the
       file adpter error is resolved
    I have tried the following approaches, but it does not help me achieve all of the above condition.
    I have put the Transformation step in a Block and introduced an exception branch with one control step which raises an Alert.
    Issue: This will raise an alert when the step fails, but it ends the BPM with a Processed status and hence I will not be able to restart the BPM.
    So I put another Control step immediately following the Alert step which raises an exception. However I have not handled this exception. Hence when a step fails, I am able to raise an alert as well as the BPM gets errored out.
    Issue : However, now when I restart the process in swf_xi_swpr, The process restarts with the Control step which was used to throw exception. It does not restart with the Failed mapping step.
    To raise Alerts for Adpter level errors which might occur before the message comes to BPM, I have defined alert category and rule in runtime workbench. However, the Alerts are not triggered when the file adapter fails.
    Please share any ideas on how to achieve all the 3
    requirements together.
    Thanks in advance.

    Hi Joachim!
    I was facing a very similar problem in my BPM modelling.
    Is there really no other chance than to loop (and maybe wait some time) over the critical (e.g. networking down, ...) parts of the BPM to have some active notification via alerts AND a possibility for retry?
    In my opinion this would a very inflexible way of doing error-handling stuff - if so - is it about to change in the upcoming releases?
    Currently I guess I can have:
    a) either ALERTING (by catching exception and raise alert)
    OR
    b) convenient retry mechansisms via "SWF_XI_SWPR" (by not catching exceptions at all and let the relevant block become "errorenous") ...
    Any other suggestions ...?
    Many Thanks,
    Andy

  • Restarting process in BPM

    Hi guys,
    if I have a BPM process and it fails for some reason (let's say mapping), is it possible to restart it from the point where it failed? I mean, if there is such an option, or the pocess has to be cancelled and started again from the beginning with new message?
    Is there any report which may resume errored process after corecting the error?
    Thanks

    Hi,
    You can use transactions SXMB_MONI_BPE -->Continue Process Following Error
    Or t codes -  SWF_XI_SWPR or SWF_XI_SWI2_DIAG
    Hope this helps.
    Regards,
    Deepak

  • Restart BPM from SXMB_MONI

    Hi Experts,
    Can you please let me know if it is possible to use a step inside a BPM to force the BPM (based on a certain condition) to land up in the specific error status that will allow you to restart it inside SXMB_MONI?
    Thanks and regards,
    Brendon

    Hi there,
    can you please give more detail on how one would achive the lookup inside a BPM and make it unavailable?
    Regards,
    Brendon

  • Cencelling a BPM  process and later restart it .

    Hi
    I have created a BPM with a synchronous call. If the answer of the called system is negative for example the material is missing, I would like to stop the BPM with an error and later (after the application error is corrected) I would like to restart the error message from sxmb_moni . Could you give a tip how to create the step in BPM (probably a control with exception?)  cencelling the process and later restart it .
    thanks
    Antonis

    Hi,
    Probably you could use the smart exceptions mapping and that could be used in Transformation step.
    Please if you can explain your requirment in more details so we could give you the better solution or alternative on it.
    Thanks
    Swarup

  • Restart BPM

    Hi all,
    Is it possible to restart a BPM even if few of its steps were successful.
    We have a requirement where BPM invloves Calling 3 RFC's in sequence. Although the PI system shows that RFC call was successful but it failed on ECC side. So we need to restart that.
    Any help will be really appriciated.
    Thanks
    -Kulwant

    Hi,
    This reply is for modelling a process using process composer for CE engine.
    I now think you question is for PI ? If  yes, please excuse me for this.
      There are two options here in your situation,
    1. If your call has failed because of configuration problem, you could try to recover the process by first correcting any configuration problem (because of which ECC call failed) and  then in NWA -> Operation Management -> Process and Task ->Manage Process - you could see the status of the process and if the status is in failed state , then clicking on 'Recover' button would try to recover the process from the failed state.This 'Recover' button itself will be visible if the process is failed state.
    Also, please be aware that ' this recover functionality "Tries" to recover the process from the error state - depending on the correctness of the configuration.
    2. Apart from this, you could only cancel the process and then start a new process. Also, in this option please be aware that, the successful operations made during the earlier activities would have the intended consequences in the system.
    BR - Karthik
    Edited by: Karthik Ramachandran on Jul 28, 2009 12:28 PM

  • How to restart the stuck BPM ( started state)

    Hi XI experts,
    We need to restart the stuck BPM in XI. Please advise how to do this..
    Thanks in advance.

    Hi Mohan,
    You can directly restart the process by this transaction
    SWF_XI_SWPR
    Check the url
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/692b2cb6a93673e10000000a114a6b/content.htm
    if you dont click continue immediately, just execute the transaction and see the BPM. there is a option of Restart workflow
    Regards
    Suraj

  • Restarting a BPM after triggering an alert

    Hi all,
    is there any way to resume a BPM in the exact point where it failed, but having thrown an alert also?
    My scenario is a chain of steps (transformations and web service calls). If it fails, there is an exception branch which will throw an alert with the exact cause of error.
    The problem is that the status of the BPM after this is not ERROR, it's COMPLETED (or CANCELLED if you cancel the process after throwing the alert). So I think it can't be restarted at the exact transformation step where it failed. The hole scenario must be reprocessed.
    Isn't this a serious flaw in the ccBPM?
    PD: I've checked this blog, /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm, but I think it's terrible to have to repeat every step in the exception branch (I mean, I would have to have an exception branch for each step, and repeat the same step in the exception branch. It would not be a good design).
    Thanks!

    Hi Jorge,
    I am also having the same problem. My BPM consists of a series of transformation steps, block steps and send steps.
    After reading the blog as you mentioned above, i was thinking how can i repeat each step in the exceptional branch.
    Can somebody help with the ideas of the exceptional handling in the case where we have series of different steps. any suggestions would be appreciated
    Thanks,
    Raj

Maybe you are looking for