Previous  Next          Contents  Index  Glossary  Library

Default Error Process

Oracle Workflow includes an item type designed specifically for error processing called System: Error. To view the details of this item type, choose Open from the File menu, then connect to the database and select the System: Error item type or connect to a file called wferror.wft in the Workflow 2.0 data subdirectory. The System: Error item type has a list of item type attributes and the following components associated with it:

Oracle Workflow allows you to customize the Default Error Process to handle errors in your workflow process. You can also create your own custom error processes using the activities associated with the System: Error item type. Once you define an error process, you can assign it to any process or activity. See: To Define Optional Activity Details.

Note: Rather than use the Default Error Process, you should try to handle errors due to business rule incompatibilities by modelling those situations into your workflow process definition. For example, if a function activity can potentially encounter an error because a business prerequisite is not met, you might model your process to send a notification to an appropriate role to correct that situation if it occurs, so that the workflow process can progress forward. If you do not model this situation into your workflow process, and instead rely on the error to activate the Default Error Process, the entire workflow process will have an 'Error' status and will halt until a workflow administrator handles the error.

See Also

Workflow Core APIs


         Previous  Next          Contents  Index  Glossary  Library