Siebel Business Process Framework: Task UI Guide > Creating Steps and Connectors > Creating an Error Step >

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. Add an error step to a task UI.

    For more information, see Adding a Step to a Task UI.

  2. In the Error Code property of the error step, choose an error code that starts with WF_ERR_CUSTOM.

    For example, WF_ERR_CUSTOM_1.

  3. Make sure the error step is chosen.
  4. Use the Multi Value Property Window to 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. Choose 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 set in Step b.

      For more information, see Creating an Input Argument on a Task Step.

    4. Step off the record to save the modifications.
  5. Optional. Repeat Step 4 to create more input arguments.
Siebel Business Process Framework: Task UI Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.