Bookshelf Home | Contents | Index | PDF |
Siebel Business Process Framework: Workflow Guide > About Workflow Process Design Options > About Handling Errors > Using an Error Workflow Process to Handle ErrorsYou can use an error workflow process to handle errors. An error workflow process is a standard workflow process that becomes an error process when you associate it to another, main workflow process. The association is created by specifying the Error Process Name property in the Workflow Processes OBLE for the main workflow. When an error occurs in the main workflow, the exception branch calls the error workflow process. The process defined in the Error Process Name property is called when the main process reaches an error state. Execution of the main process stops, the main workflow process passes system defined process properties to the error workflow process, then the error process commences. Restrictions when using an error workflow process include:
Benefits of Using an Error Workflow ProcessAn error workflow process that is used when you need to handle errors across multiple steps in a workflow process or across multiple workflows is called a universal exception handler. This type of exception handling can be used to reduce clutter on the workflow flowchart, and to reduce the need to create a large number of error workflow processes by reusing a single or a small set of error workflow processes. How Errors Are HandledThis topic describes how error handling varies for a workflow process and how errors are handled for a sub process. How Errors Are Handled for a Workflow ProcessIf an error is encountered in a workflow process that does not have an error process defined in the Error Process Name property, the workflow process remains in the In Error state. The original error code is returned to the caller of the process. If the main workflow process encounters an error and there is an error workflow process defined for the main workflow process in the Error Process Name property, the error workflow process finishes with one of the outcomes described in Table 29. How Errors Are Handled for a Sub ProcessIf a sub process encounters an error and there is an error workflow process defined for the sub process in the Error Process Name property, the error workflow process finishes with one of the outcomes described in Table 30. |
Siebel Business Process Framework: Workflow Guide | Copyright © 2008, Oracle. All rights reserved. | |