Skip to Content

SAP HCI: Collect the exceptions with a counter to trigger a combined Alert mail for every N failures

Hi Experts,

We have a requirement in HCI, where each record from source file (SFTP server) is processed one by one using a splitter and if a failure happens we are getting alert mails for each of the record (say 1000). I haven't checked "stop on exception" option in splitter as it could be temporary failures sometimes and the processing should not be stopped for 1 or 2 failures in between.

Option 1: I want to keep a counter in Exception sub-process where it collects the exceptions till counter increments to N (say 100) and then trigger an email consolidating those N failures

Option 2: I want to have an option if the exception sub-process is called more than 3 times for every 30 mins, then the flow should be terminated without further processing

Is there any way to implement any of the options listed above or kindly provide any alternate suggestions to handle this scenario.

Thanks in advance.


Sudarvizhi P

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 08 at 05:31 PM

    Hello Sudarvizhi,

    You can implement both of it , but my pick would be on Groovy script.

    You can have an header to count the number of times sub process/exception is been called and use a router to call the smtp/email trigger.

    like wise you can record the time when the message was present in the exception and how many times, depending on that you could use the router to trigger the call.



    Add comment
    10|10000 characters needed characters exceeded