on 05-06-2013 3:11 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hi,
two parallel branches (fork with one success branch), one with a wait step and behind that a jump (control step) into exception branch should work.
/Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Udo,
Can you please elaborate a bit, i have currently used a block and am having the success branch and inserted one deadline branch and exception branch. Are you suggesting to use a Fork within the block and have one success branch and the other an exception branch with a control step to handle exception followed by a wait step?
Hi,
Can you please elaborate a bit
A Block defining an exception, having an exception branch for that
Inside the block a fork, 1 neccessary branch (of 2 total)
1. Branch: Your normal processing. Waiting for correlation
2. Branch: First a wait step. Second a control step, jumping into exception branch
/Udo
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.