Bookshelf Home | Contents | Index | PDF |
Siebel Business Process Framework: Workflow Guide > Options for Configuring a Workflow Process > Handling Errors > Using an Error Exception Connector to Handle ErrorsAn error exception connector is a type of connector that can handle the following types of errors:
You can use an error exception connector to change the flow in a workflow process. If an error occurs, then Siebel CRM enters the error code and error message in the Error Code and Error Message process properties. An error exception connector allows you to use values in these properties to define a decision condition. The Process Designer displays an error exception connector as a red connector between two steps. If you click it, then the Properties window displays the WF Step Branch properties for the connector. Siebel CRM evaluates exception logic for a step after the step finishes. If you must evaluate an exception before the step runs, then you must attach the error exception connector to an upstream step in the workflow process. Example of Error Exception HandlingFigure 18 illustrates an example of error exception handling. If the Get Organization ID step cannot get data, then the workflow process continues to the Lookup Sender by Org step. If this step fails, then the workflow process runs the red exception connector, and then uses the Send Lookup Error Email step to send an email. Defining an Error Exception ConnectorYou define an error exception connector in the Process Designer. To define an error exception connector
Defining an Error Exception Connector to Handle an Update ConflictThe example in this topic defines an error exception connector to handle an update conflict that occurs if Siebel CRM attempts to make multiple writes to the same record at the same time. If the Workflow Monitor Agent (WMA) starts a workflow process, and if this agent updates a record, then the WMA can fail if another workflow process attempts to update this record, if another user attempts to update this record, or if another WMA task attempts to update this record since the workflow process first gets this record. In this situation, Siebel CRM display an error message that is similar to the following: The selected record has been modified by another user since it was retrieved. To prevent the WMA task from failing, you can define an error exception connector that handles the update conflict that occurs while the workflow process runs. To define an error exception connector to handle an update conflict
The Update Opportunity Again step allows Siebel CRM to write to the opportunity again if the first attempt to update the opportunity fails due to the update conflict error. This example uses a business service step that updates opportunities. You can use the same configuration with other step types that update a record, such as a Siebel operation step or a sub process step, and with other types of records, such as accounts or contacts. |
Siebel Business Process Framework: Workflow Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |