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
- Add an error step to a task UI.
For more information, see Adding a Step to a Task UI.
- 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.
- Make sure the error step is chosen.
- Use the Multi Value Property Window to 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.
- Choose 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 set in Step b.
For more information, see Creating an Input Argument on a Task Step.
- Step off the record to save the modifications.
- Optional. Repeat Step 4 to create more input arguments.
|