Bookshelf Home | Contents | Index | PDF |
Siebel Business Process Framework: Workflow Guide > Adding Workflow Process Steps > Adding Steps and Connectors > Adding a Stop StepThe stop step is a type of workflow process step that Siebel CRM uses to display an error message in the client, and then terminate a workflow process. If Siebel CRM uses a stop step in a sub process, then this stop step stops the sub process and it also stops the parent workflow process. It is not necessary to define a stop step in the parent workflow to stop the sub process.
How Siebel CRM Handles the Stop StepTable 13 describes how Siebel CRM handles the stop step.
Calling a Workflow Process That Includes a Stop StepIt is recommended that you use the stop step only in a workflow process that a script calls. For example, assume a workflow process includes a stop step that displays a custom error message. When Siebel CRM runs this workflow process, the custom error message includes stack information. Siebel CRM cannot suppress this stack information. Assume a workflow process that a script starts contains an end step that defines the error message in a process property. Assume this workflow process encounters an error, and that the subsequent step is an end step that does not display messages. Siebel CRM returns control to the script. This script examines the value that the process property contains. It then uses the following function to display the message: The error dialog displays the error text but it does not include workflow process or stack trace information. Defining a Custom Error Message on a Stop StepThis topic describes how to define a custom error message on a stop step. To define a custom error message on a stop step
Defining Multiple Custom Error Messages for a Stop StepYou can use multiple customizable codes in the Error Code property of a stop step. These codes use the following format: Each WF_ERR_CUSTOM_x code is unique. You can use each of these error codes only one time and for a specific purpose. If you must display multiple custom error messages, then you can use WF_ERR_CUSTOM_2, WF_ERR_CUSTOM_3, and so on, instead of using %1, %2 for the same WF_ERR_CUSTOM_x. |
Siebel Business Process Framework: Workflow Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |