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

Similar Messages

  • 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

  • Alert in BPM not triggered anymore

    Hello,
    I have a strange behavior in my integration process. I defined an alert category in ALRTCATDEF and in my BPM I trigger an alert using that defined category.
    This worked fine so far, but after making some non alert-related changes in the process and reactivating it, no more alerts are visible using report RSALERTDISP. Even when rolling back the history to a process version that already worked no more alerts are received.
    Checking the workflow log I can see that the alert step is executed successfully "Triggers a process alert in the background" : --> Step completed.
    What I have seen however is that in the list with technical details the ALERT_ID in the container is 00000. In earlier tests there was always a value assigned.
    Could this be a reason or are there any limitations on the max. number of alerts that can be sent?
    Any help is highly appreciated.

    This worked fine so far, but after making some non alert-related changes in the process and reactivating it, no more alerts
    are visible using report RSALERTDISP. Even when rolling back the history to a process version that already worked no more
    alerts are received.
    Did you checked the return code of your IP in SXI_CACHE after activating the changes?
    Also do a check on the BPM in IR....F7...and see if there are any warning messages.
    There is no limit on the number of alerts that can be raised....just that you should have unchecked Suppress Multiple Alerts option in RWB and Alert Rule should be active
    Regards,
    Abhishek.

  • Escalation not getting triggered in  Alert

    Hi
    I have triggered an alert from BPM which is successfully received both in my mail box as well as Alert inbox.
    If the Alert is not confirmed, it should trigger an Escalation. In the Alert configuration I have maintained the recipient of the Escalation message, the tolerance limit and also have checked "Escalation Active"
    But the Escalation is not getting triggered. Kindly advice...
    Anup

    Hi Anup,
    Please go through these..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/96/f1033c128f4a7de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4a/2dc1e0778648afa9e69d9a44244def/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    cheers,
    Prashanth

  • Pause and restart while loop after defined time

    Hello,
    What I need is to find a way to run a while loop that is acquiring and analysing a movie, to pause this while loop for a time I specify, and re-run it after that time has passed.
    I'm attaching a picture of the relevant parts of my VI. In the case structure of the "true" or "false", the program is checking, online, if the eye (my camera is focusing on the eye) is open above some threshold and for a certain duration of time. When "condition to start" is met, two things happen: one, the case structure changes to "false" and waits for some time; second, the loop of my state machine is triggered. Problem is, because I'm not really pausing my while loop (it's still running even when it's the "false" case), my state machine runs really slowly - for example, I have a part of video acquisition in my state machine, and saving the frames to avi takes forever. 
    Does anyone have any idea of how I could stop the while loop for x time?
    Thanks in advance!
    Attachments:
    help_pauseWhileLoop.png ‏112 KB

    Hi,
    I'm attaching (hopefully) better pics, if you still can't see let me know and I'll attach the code. About the frame saving and acquistion, I'm already doing that in a separate loop - you can't see my entire code in the pics, but what I have is a state machine that works as a producer loop and then a consumer loop, where video acquisition is happening. Now I'm working on a third loop (the one in the picture), that starts before the others and where I don't even want to save the movies - I just want it to check, online, if the condition is met (e g, the eye is open for a specified time) and if so, start the state machine and stop running, until the state machine has finished running. Then do the same, after waiting a specified time. I know that the problem is that the while loop keeps running after triggering the state machine, because if I remove that part and trigger it manually, the VI runs just fine and really fast. So how can I run, stop and restart the while loop?
    Attachments:
    help_pauseWhileLoop1.png ‏56 KB
    help_pauseWhileLoop2.png ‏32 KB

  • I have restore my ipone, but after that when i restart it and after selecting language and country. when i conntect to itunes, it display this message. We're sorry, we are unable to continue with your activation at this time

    i have restore my ipone, but after that when i restart it and after selecting language and country. when i conntect to itunes, it display this message. We're sorry, we are unable to continue with your activation at this timre

    Hello mzpartia,
    I found an article from Apple that specifically outlines how to try and troubleshoot this issue. It's called iPhone: Troubleshooting activation issues found here: http://support.apple.com/kb/ts3424.
    Resolution
    Perform the following steps if you receive one of the messages above:
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to Wi-Fi if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Applefor assistance.
    Take care,
    Sterling

  • I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.

    Hi,
    I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.
    The "Staged" folder is present and remains after a restart, but the extensions do not get installed. They show in the extensions page with the "will be installed after you restart Firefox" message and remain like this no matter how many times I restart.
    Any Idea's?
    Running Firefox 24.0 on Windows 8.1
    Many Thanks,
    BD
    P.S. Just tried to install the "troubleshooter" add-on before posting the question and I got an error saying it cannot install because it cannot modify the needed file. (I did it manually instead)

    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end side of the Search Bar to check if there is a compatibility update available.
    If this hasn't helped then also delete the addons.sqlite file.

  • Before or After Triggers

    Hi,
    I have a doubt on functioning of Before or After Triggers.
    Here is an example of it:
    I created a trigger on EMP table
    create or replace trigger tri11 before insert or update or delete on emp for each row
    begin
    if to_char(sysdate,'dy')='fri' then
    raise_application_error(-20101,'No Transactions should be happend on Friday');
    end if;
    end;
    According to the trigger created it has to fire before any event is happening and it should not allow any insertions or updates or deletion on FRIDAY.
    And that is working fine.
    I changed the trigger to fire on After Insert or update or delete....
    create or replace trigger tri11 after insert or update or delete on emp for each row
    begin
    if to_char(sysdate,'dy')='fri' then
    raise_application_error(-20101,'No Transactions should be happend on Friday');
    end if;
    end;
    Here according to this trigger it has to fire after any event is happening .....but still it is not allowing me to perform any insertions or updates or deletion on FRIDAY.
    And showing me the error message as below:
    SQL> update emp set sal = 11000;
    update emp set sal = 11000
    ERROR at line 1:
    ORA-20101: No Transactions should be happend on Friday
    ORA-06512: at "SCOTT.TRI11", line 3
    ORA-04088: error during execution of trigger 'SCOTT.TRI11'
    Can anyone please explain me the difference.
    Thanks.

    All triggers must be fired synchronously with the triggering statement. The statement and all triggers that are fired as the result of the statement must be atomic-- they must all succeed or all fail. It doesn't matter whether it is a before or after statement trigger that throws the exception-- in either case, the entire statement will fail and thus be rolled back.
    Justin

  • Windows 2003 R2 Gray Screen Hang on HP DL380 G5 when restarting or shutdown after Nov/Dec 2011 Windows Update

    I’ve 4 identical HP DL 380 G5 Servers with Windows 2003 R2 Std.  The 4 machines have the same Windows driver version and motherboard BIOS version.  2 have no problem.  2 have problems after Nov/Dec 2011 Windows Update!
    After running for a few days from power-up, the 2 problem servers will hang at gray screen during restart.  After clicking for restart,
    - The Event Log service will stop normally so there is no more error log can be seen!
    - The IP ping to the server can still work.  The mouse pointer in Windows can still be moved.
    - The Windows shutdown gray screen can be shown.
    - [Ctrl-Alt-Del] has stopped to function.
    Then the system just freezes at that status.  I can only cold-boot the system!
    After power-up again, I can do the Windows restart / shutdown normally!  But after a few day of running, the above symptom repeats!  The symptom happened since I installed the Windows Update in Dec 2011.  It didn’t happen before that!
    Anyone can give a hint on how to diagnose it?

    Hi,
    In order to troubleshoot the server hang issue, you can first preform a clean boot on the problematic system.
    Steps:
    ====================
     1. Click Start->Run…->type
    msconfig and press Enter
    2. Click Services tab and select Hide All Microsoft Services
    and Disable All third party Services
    3. Click Startup tab and Disable All startup items
    4. Click OK and choose Restart
    5. After reboot, check whether the problem still occurs
    If the server hang on issue still continues in clean boot mode, for the further troubleshooting, you may check in the Task Manager to see which process takes the memory resources.
    Meanwhile, you can also use reliability and performance Monitor to track down what cause the performance issue.
    Windows Reliability and Performance Monitor
    http://technet.microsoft.com/en-us/library/cc755081(WS.10).aspx
    Windows Performance Monitor
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    Best Regards,
    Aiden
    Aiden Cao
    TechNet Community Support

  • How to update agent list after triggering workflow?

    Hi Guys,
               Is there any function module to update the agent list after triggering the workflow? i mean after triggering workflow, the user is maintaining some approving officers in their table and they are expecting the workflow should route the workitem to  those newly maintained approving officers. So can any one help me to solve this issue.
    Regards,
    Safiq

    if any agent maintained in the customized table, how can I update
    those agent with existing available agent list.
    It sounds like updating the existing workitem container with the new updated values. right? You mean to say initially workflow is triggered and the agent list is populated in the workflow container. But after the workflow is triggered if the table is updated with some new entries, then these new entries must alos be included in the agent list container element in the workflow container.
    If this is the case the you have to modify the multiline container element of the workitem container. You can make use of the standard function module SAP_WAPI_WRITE_CONTAINER but this function module needs to be called each time when evenr a new entry is created and you have to check what are all the workitems that you want to update ,
    I think its a bit difficult to update all the workitems which are with reagrd to this scenario.. so you have to check out some other simple way. But on a whole what I can say is you can update an existing workitem container by using the FM mentioned above...

  • How clusterware restarts on automatically after server reboot in 11g R2

    Hi,
    I would like to know how the cluster restarts on automatically after the server reboot in 11g R2 RAC . The oracle restart feature in 11g R2 help to restart the components like databases, ASM in case of abnormal failure. But how the clusterware starts on own after the server reboot? can you share any documents or notes is really appreciated.
    Thanks,
    Robin.

    At Grid Infrastructure installation time system configuration is modified so that UNIX init daemon restarts OHASD: http://docs.oracle.com/cd/E11882_01/rac.112/e16794/intro.htm#BABIDEFI. For example with Oracle Linux 5 and Oracle RAC 11.2.0.1 you have following line in /etc/inittab:
    h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/nulland:
    [root@rac1 ~]# head /etc/init.d/init.ohasd
    #!/bin/sh
    # Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
    # init.ohasd - Control script for the Oracle HA services daemon
    # This script is invoked by the init system
    ORA_CRS_HOME=/u01/app/11.2.0/grid
    export ORA_CRS_HOMEEdited by: P. Forstmann on 11 févr. 2013 18:45

  • Restart Systemd service after laptop resume

    Hi!
    After resume my laptop (from suspend, I've no tried hibernation) I need to restart NetworkManager service. How can I do this automaticaly?, I've searched in google and Systemd documentation but I have not a clear idea about how to do it.
    thanks

    Gazpacho wrote:
    lucke wrote:As boast said, you can make pm-utils run "systemctl restart networkmanager.service" after resume for you. https://wiki.archlinux.org/index.php/Pm … _own_hooks
    Sorry (to boast too), you are right. I've read the wiki and created a hook, now NM restarts after resume. Thanks!
    And now I've discovered that my computer only suspends the first time. Second time nothing happens when I close the tap, execute pm-suspend or the KDE menu option suspend to ram
    If you have any idea it is welcome. If not I will mark the thread as solved in a couple of days and search in forums and wiki.
    this usually happens when your hook doesn't exit. pm-suspend never finishes because it's waiting for the hook to exit and the second pm-suspend will block until the other pm-suspend is finished. Please post your hook.

  • Get Agent that triggered SCOM Alert

    Hi Everybody!
    Is there a way to get the agent id that has triggered an alert in SCOM? Maybe with Powershell or SQL Query?
    I was searching the Internet and tried some things but still have no solution for it ...
    We are using SCOM 2012 SP1.
    I need that for an Orchestrator Runbook that creates incidents in our ticket system (it's not SCSM ;)).
    Thank you!
    Wolfgang

    For SQL, executing the below query would get you the agent id
    select basemanagedentityid from alert where <<your condition>>

  • After triggers on the same table

    Hello,
    i'm looking for some samples of after triggers which run on the
    same table.
    A stupid example could be to calculate the number of lines of my
    table after a delete event to stock it in each of my rows.
    I would like an example to do that with a row level trigger and
    also with a statement level trigger.
    Thank's in advance

    You can only do what you have asked for in a statement trigger.
    create or replace trigger t_as
    after delete on t
    declare
    v_count pls_integer;
    begin
    select count(*)
    into v_count
    from t;
    update t
    set row_count = v_count; -- update each row
    end;
    /

  • I am concerned if it is safe to use Adobe Flash and plug in in Firefox after yesterdays news alert :

    I am concerned if it is safe to use Adobe Flash and plug in in Firefox after yesterdays news alert :

    Considering that the vulnerability is in Internet Exploder... I'd have to say "yes".

Maybe you are looking for

  • Trying to print via wifi to epson stylus color 740 but can't

    Hi all, I am trying to set up my just purchased PowerBook g4 to print via airport wifi to an epson stylus color 740. I have been printing to this printer from my old laptop without any problems but I forgot how I set it up. It had something to do wit

  • Copying infoobject text into a second language key

    Hi all, I need to manage material text in both IT and EN language key. Some material codes are generated in ECC only in IT, some other in both languages. Since reporting is in any case required in english, I wish to set up something which is aimed to

  • Option to purchase TV show in sd is blocked

    Up unitl today, I could download in sd format, but now I only get the hd option

  • GetVariableData is not a literal expression

    I have a problem that I can't use the getVariableData(elementvar,xpathexpression) function if I use the 2 argument function of the getVariableData. I read the forum issue already that there is a know issue that if you use the 2 argument function of g

  • Poor Quality DVD footage

    Hi There I wandered if anyone can help, please! From FCP, I've exported a QuickTime movie using compressor and the XD CAM 1080 25p codec (as this is the source footage). Open the mov in QT and it plays perfectly. I create and burn my disk using DVDSP