cancel
Showing results for 
Search instead for 
Did you mean: 

Exception branch to error the BPM process after timeout

former_member187447
Participant
0 Kudos

Hi

I have a BPM scenario which has correlation setup for an async interface for request response. Now my question is can i setup the Exception handling in BPM to error the message and also throw an alert once the correlation times out? If so, how? Currently i am trying out with a deadline branch where i have setup the timeout time eg 1 min. and am putting an exception control block within that and using a separate exception branch to handle it. But i see that the exception is not even being raised and so the BPM is failing gracefully with checkered flag. Please suggest.

View Entire Topic
Former Member
0 Kudos

You can start to verify your process by comparing it to one of the patterns in SAP BASIS software component in ESR, namespace http://sap.com/xi/XI/System/Patterns, there  is a process called BpmPatternCollectTime. They also use deadline branch.

former_member187447
Participant
0 Kudos

I tried that, but its not erroring out with red flag.

Former Member
0 Kudos

Are you sure the exception isn't actually triggered? Did you check the technical workflow log?

It sounds like your process won't error with red flag since you handle the exception, and that is good since if the process stops with red flag, you may keep other processes instances from being processed since the queue is stopped. I don't recommend that approach.

I recommend implementing the Example: Deadline Monitoring for Receipt of a Response Message. Generate an alert on exception as recommended by SAP.

former_member187447
Participant
0 Kudos

Martin, It worked, I implemented the "Alert Following Missed Deadline". Thank You.