Calling a Workflow Process that Includes a Stop Step

It 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:

RaiseErrorText

The error dialog displays the error text but it does not include Workflow Process or stack trace information.