Previous  Next          Contents  Index  Navigation  Glossary  Library

Service Request Error Process

You can optionally specify an error process activity to execute if an error occurs in your workflow process. Oracle Service includes an error process designed specifically for error processing called Service Request Error Process. It is a customized version of Oracle Workflow's Default Error Process and serves as a demonstration of how the Default Error Process can be enhanced to handle errors in your workflow process. You can customize the Service Request Error Process or create your own custom error processes using the activities provided by Oracle Workflow.

Oracle Workflow executes the Service Request Error Process when an error occurs in the Call Support or Service Dispatch process. The Service Request Error Process sends a message called Service Request Error Message to notify the Oracle Service workflow administrator that an error has occurred. The Service Request Error Message provides information associated with the errored activity, such as the error message raised by the errored activity and the error stack. The workflow administrator can open a Web browser from the Notifications window to connect to the Workflow Monitor, which displays detailed status information about process activities. After reviewing the error, the workflow administrator can fix the problem that has caused the error (for example, create a workflow role for an employee), then respond to the Service Request Error Message with the result Retry Activity to have Oracle Workflow rerun the original errored activity after the error process completes. Alternatively, the workflow administrator can choose to abort the errored process and cancel any outstanding notifications. To end the process, the workflow administrator should respond to the Service Request Error Message with the result Abort.

In addition to the standard attributes, Oracle Service has created two attributes to be used by the Service Request Error Process:

Display Name Description Type Length/ Format
CS Workflow Administrator Oracle Service workflow administrator role name Text 100
CS Monitor URL URL for Workflow Monitor URL  

In Oracle Workflow, the Service Request Error process looks like this and consists of the following activities:

CS Initialize Errors Activity

This activity initializes the attributes associated with the error.

Notify Service Workflow Administrator Activity

This activity notifies the Oracle Service workflow administrator that an error has occurred in a workflow process.

Reset Error Activity

This activity re-executes the errored activity and continues execution of the process from that errored activity.

End Activity

This activity marks the end of the error process.

See Also

Overview of Service Request Workflows


         Previous  Next          Contents  Index  Navigation  Glossary  Library