In the Project Explorer, under the process interface, expand an event. For example:
Right-click
Errors and select
New
> Error. The following dialog is displayed:
Enter a name for the error code and click
Finish. The error code you created is displayed in the Project Explorer, and in the Process Interface Editor:
Continue with
Error Codes and Process Interfaces to see how these error codes are used in processes created from a process interface with error codes.