Creating a Custom Error Message
You can use a custom error code and an input argument to create a custom error message for an error step. You can use the input argument to define the text of the custom error message.
To create a custom error message
-
Select the Error step from the Palettes pane, then drag and drop it on the canvas.
For more information, see Adding a Step to a Task.
-
In the Error Code property (in the Properties pane), choose an error code that starts with WF_ERR_CUSTOM.
For example, WF_ERR_CUSTOM_1.
-
Select the error step and in the Multi Value Property Window (MVPW) pane, add an input argument:
-
In the Input Argument field, enter a substitution variable.
For example,
%1
. You can use a substitution variable in the error message to represent the input argument for an error step. A percent symbol (%) identifies a substitution variable. -
Select a Type for the input argument, which is the source of the value that Siebel CRM uses for the error message text.
-
Define the remaining fields, according to the Type you selected in step b.
For more information, see Creating an Input Argument for a Task Step.
-
Step off the record to save the changes.
-
-
Optional. Repeat the previous step to create more input arguments.