Siebel Business Process Designer Administration Guide > Designing Workflow Processes > Working with Exceptions >

Defining an Exception


Exceptions are defined in the same view as Start and Decision steps.

To define an exception

  1. Make the appropriate process active by selecting it in the All Processes view.
  2. Drag and drop an exception connector from the palette area and connect it to an existing shape on the workspace. Be sure that the end of the connector is attached to the step.
  3. Double-click the exception arrow in the workflow diagram.
  4. In the Next Step applet, select the exception and enter a name for the exception.
  5. Under Type, select Error Exception or User Defined Exception.
  6. See Defining Exception Conditions and Values to define the conditions that apply to the exception.

Defining Exception Conditions and Values

Conditions and values define the nature of the exception. In general, you define conditions that compare to the process properties' Error Code and Error Message when defining a system exception. Whenever the system encounters an error, the error code and error message are automatically populated in the process properties. To branch on a specific error, create a condition comparing to a process property, then select Error Code or Error Message and enter the code in the Values applet.

NOTE:  It is recommended that you use Error Messages in your conditions rather than error codes to determine the next step in a Workflow Process. Error codes can be text-based or number-based. Because error-code numbers change from release to release, use of Error Messages is preferred.

To define exception conditions and values

  1. With the exception selected in the Next Step applet and the Compare applet active, choose Edit > Add New Record.
  2. Select a Compare To value from the picklist. The available choices are:
  3. Select the operation to use for evaluating the values. The available choices are:
  4. If you are using a process property value, select the name of the property from the picklist.
  5. If you are using a business component field, select the name of the component and the name of the field from the Business Component Name and the Business Component Field picklists.
  6. Enter an applet name and applet field, if applicable.
  7. Enter any appropriate values in the Values applet.

 Siebel Business Process Designer Administration Guide 
 Published: 29 May 2003