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

Similar Messages

  • 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 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

  • 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

  • Restarting BPM Automatic

    Hi,
    I have some that fall by BPM timeout communication between XI and R3 (180 seconds).
    With the transaction SWF_XI_SWPR I relaunch these messages manually, what I want to know is whether it is possible to automate this action through a JOB or something similar.
    Best Regards.
    Julian

    Regards Ravi.
    His document aims rather as a loose manage a workflow where a user gives approval processes and there is development through to its implementation.
    I was looking for information about how to relaunch syncs messages that fall mistakenly communication between XI and R/3
    Com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4720d9fb-e721-0191-0000-0000c0a809cc (INBOUND)
    I think that there is this mode, unless it develops.
    Best Regards

  • Restartable message in synchronous scenario

    Hi experts,
    I have a <b>synchronous</b> HTTP-XI-RFC scenario. Since this is a synchronous process, no queue will be kept and the message can't be restarted. So I clearly know that if in any case XI is down, sender system will received either a runtime error or timeout error (correct if I'm wrong).
    The thing is the sender system wants XI to take charge of the queue. This is due to sender system can only send one time of request, and need the response immediately. So if any error happen for example if XI is down, they wants the process to resume back at XI side.
    I'm thinking is BPM able to solved this problem? like by using a sync/async kind of design. Or is JMS adapter is the better choice?
    I've been cracking my head for many days, hope someone can kindly enlighten me.

    Moon,
    In your above case its possible by restarting the BPM. But i'm not sure how it works. Bcoz the sender is synchronous after some time if it didn't get any responses it will error out saying Timeout exception. After restarting the BPM I don't know how does it works!!!
    I haven't worked on such scenario. In my case the scenario is different  Sender SOAP --->XI -
    >Synchronous Webservice -
    >Response to JDBC.
    In the above scenario if it fails at calling the webservice we will use restart BPM. It will go thru perfectly. But in your case the sender itself is synchronous.So I doubt!!!
    Please wait for other friends replies!! It will help you.
    Best regards,
    raj.

  • Queues block because of mapping Exception

    Hi guys,
    I have a scenario in PI 7.0 that makes use of BPM and creates and posts 3 Idocs that are posted to R/3 subsequently. However, when mapping fails in first step of BPM because of an exception, then all subsequent entries in the same queue, are blocked inside the queue.
    Do you have any idea how this could be avoided.
    My preference would be to have the mapping failing in XI and from SXMB_MONI_BPE to be able to restart all failed BPM's and have all subsequent BPM's successfully executed even if the first one fails.
    --Evaggelos

    check if this blog helps:
    /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
    for restarting bpm check : SXMB_MONI_BPE->Restart Process After Error
    Edited by: Prabhu  S on Jan 8, 2008 7:42 AM

  • Cannot find new instances in the workspace

    I use BPM Standalone 10g and Studio 10g.
    I create a process without a global creation activity and deploy as well as publish it in the BPM Standalone.
    The process just has one activity named Interactivejcooper. Its main task is set to Method.
    I also create a JAVA PAPI to create new instances of this process. It can create new instances.
    However, I cannot find all new instances created by PAPI in the workspace.
    The following code is in the PAPI.
    --------------------code------------------------
    package piic;
    import fuego.lang.ConnectionPassport;
    import java.util.Properties;
    import fuego.papi.Arguments;
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.util.Properties;
    public class Class1 {
    public Class1() {
    public static void main(String[] args) throws CommunicationException, OperationException {
    Class1 class1 = new Class1();
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    ProcessService processService = ProcessService.create(configuration);
    ConnectionPassport passport = processService.createPassport("jcooper");
    passport.setPassword("welcome1");
    passport.fillPassport();
    ProcessServiceSession session = processService.createSession(passport, "localhost");
    for (String processId : session.processesGetIds()) { 
    System.out.println("\n ProcessID: " + processId);
    String processId = "/Processwithoutglobalstart";
    String argumentName = "MyArgument";
    Object argumentValue = new Object();
    Arguments arguments = Arguments.create();
    arguments.putArgument(argumentName, argumentValue);
    session.processCreateInstance(processId, arguments);
    System.out.println("49-----------");
    for (String processId2 : session.processesGetIds()) { 
    System.out.println("\n ProcessID: " + processId2);
    for (InstanceInfo instance : session.processGetInstances(processId2)) {
    System.out.println(" instance.getId()-> " + instance.getId());
    System.out.println(" activity.getActivityId()-> " +instance.getActivityId());
    System.out.println(" activity.getActivityName()-> " +instance.getActivityName());
    session.close();
    processService.close();
    ----------------------println----------------------------------
    E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\jdev\mywork\PAPInewInstancewithoutCreation\Project1\classes;D:\BPM_HOME_standalone\client\papi\lib\b1util.jar;D:\BPM_HOME_standalone\client\papi\lib\b1oracle.jar;D:\BPM_HOME_standalone\client\papi\lib\b1base.jar;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar piic.Class1
    Creating connector [fuego:SQL]
    Creating ProcessService with id 'oracle/2009-03-31 18:08:47+08:00'.
    Creating local folder: /tmp\system\Schema3387192-1796619082\catalogs
    Loading catalogs from local folder: /tmp\system\Schema3387192-1796619082\catalogs
    0 jars found locally.
    [CatalogMgrCache] =======================
    Registering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 1465214:
    Managers:
    Counters:
    [CatalogMgrCache] =======================
    CatalogMgr [oracle/2009-03-31 18:08:47+08:00] REGISTERED!CatalogManagerCache 1465214:
    Managers:
    {oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1d0d124}
    Counters:
    ProcessService 'oracle/2009-03-31 18:08:47+08:00' created successfully.
    ProcessID: /InvokeJava2#Default-1.0
    ProcessID: /Process#Default-1.0
    ProcessID: /ProcessB#Default-1.0
    ProcessID: /Processwithoutglobalstart#Default-1.0
    ProcessID: /Testprocess#Default-1.0
    Unreachable Engine Tolerance (seconds):
    by default: 0
    to be used: 0
    This papi client will not cache exceptions which imply that an engine could not be reached.
    Adding local catalog for project: 163
    Processing the synchronization information, instance '163:247:0' was created.
    49-----------
    ProcessID: /InvokeJava2#Default-1.0
    instance.getId()-> /InvokeJava2#Default-1.0/242/0
    Adding local catalog for project: 162
    activity.getActivityId()-> /InvokeJava2#Default-1.0/tojava
    activity.getActivityName()-> tojava
    ProcessID: /Process#Default-1.0
    ProcessID: /ProcessB#Default-1.0
    ProcessID: /Processwithoutglobalstart#Default-1.0
    instance.getId()-> /Processwithoutglobalstart#Default-1.0/243/0
    activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
    activity.getActivityName()-> Interactivejcooper
    instance.getId()-> /Processwithoutglobalstart#Default-1.0/244/0
    activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
    activity.getActivityName()-> Interactivejcooper
    instance.getId()-> /Processwithoutglobalstart#Default-1.0/247/0
    Session 'jcooper7676692326836000001' has been closed.
    activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
    activity.getActivityName()-> Interactivejcooper
    instance.getId()-> /Processwithoutglobalstart#Default-1.0/246/0
    activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
    activity.getActivityName()-> Interactivejcooper
    instance.getId()-> /Processwithoutglobalstart#Default-1.0/245/0
    activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
    activity.getActivityName()-> Interactivejcooper
    ProcessID: /Testprocess#Default-1.0
    [CatalogMgrCache] =======================
    Unregistering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 1465214:
    Managers:
    {oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1d0d124}
    Counters:
    {oracle/2009-03-31 18:08:47+08:00=1}
    [CatalogLoaderMgr] unregisterCatalogMgr freeing resources of LocalCatalogManager
    [CatalogMgrCache] =======================
    CatalogMgr [oracle/2009-03-31 18:08:47+08:00] UNREGISTERED!CatalogManagerCache 1465214:
    Managers:
    Counters:
    Process exited with exit code 0.

    I don't know what happens. It works after I restart BPM studio in 2 hours.

  • 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

  • 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

  • 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

  • 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.

Maybe you are looking for