Skip to Content
author's profile photo Former Member
Former Member

Exception Handling in BPM

Hello,

1. I have created a block step B

2. I have created a ReceiverDetermination and send step(S) inside Block B .

3. I have created ExceptionHandler EH.

4. I have assigned this ExceptionHandler EH in the send Block Exceptions-SystemError.

5. In ExceptionHandler EH ,i have created a controlstep for throwing Alert .

Problem i am facing now is when an error occurs in send step it is not throwing Exception.

Did i missed something.

Thanks in Advance for responses

Rajesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 04:45 AM

    Hello,

    Edited by: rajesh kumar on Dec 22, 2008 5:45 AM

    Could somebody guide me on this.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member fc GAN

      Hello,

      In the send there is possibilty of error ,so i have created a ExceptionHandler(EH) and assigned the same to the send step property (systemError - EH).

      When an error occurs during send step , BPM Control/Engine should go to ExceptionHandler Definition block where i have created a control step with action as throw alert and some error message.

      But this is not getting executed ,when i check the workflow logs the block is not showing ExceptionHandling message instead showing error message.

      Please correct me if i understanding is wrong.

      Thanks for your responses

      Rajesh

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 05:34 AM

    Hi Rajesh

    As its not throwing any exception during that , it may be that you have not assigned the recepient with the T code : ALRTCATDEF , then can assign the receiver there,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello ,

      I have created the AlertCategory and which was worked fine earlier, I have resused the same for this process.

      My concern is will the BPM block Step is not showing the message as ExceptionHandling and showing as Error instead.

      Thanks for suggestions and responses

      -Rajesh

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 06:11 AM

    If you are not able to see the Exception block in the workflow then you have to use Process Control Exceptions are triggered using the step Process Control. Define a new step Process Control in the normal branch. Enter the step name and the outcome name. Select Throw Exception in the function.

    please refer the blog in SAPTECHNICAL using exception handler

    Abhishek

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello ,

      I am getting below error at the send step block

      Runtime handle of object type could not be created

      Message no. WL821

      Diagnosis

      The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.

      System Response

      The work item was forced into the error status.

      Procedure

      Refer to your workflow system administrator.

      Procedure for System Administration

      Also check the binding between the task container and the method container.

      Any guess??

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.