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

  1. 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.

  2. 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.

  3. Select the error step and in the Multi Value Property Window (MVPW) pane, add an input argument:

    1. 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.

    2. Select a Type for the input argument, which is the source of the value that Siebel CRM uses for the error message text.

    3. 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.

    4. Step off the record to save the changes.

  4. Optional. Repeat the previous step to create more input arguments.