In this task you learn how to define a default event type for a destination, and what that means. You also learn to validate your project.What is a default event? The default event configured for a destination is used to hold information transferred from an incoming message, when no event type is specified in the message. The event is then asserted into working memory, where it may trigger rules.What is validation? The Validate All () feature checks the whole project, looking for inconsistencies and incompletely configured resources. If there are errors, the validation feature makes it easy to correct them. If you rename a resource, for example, BusinessEvents can correct all references to the resource, except those in text areas such as the rule editor.
The Validate Resource feature () checks the validity of the currently displayed resource, and resources referenced in the currently displayed resource. However, it does not check whether the current resource is correctly referenced elsewhere in the project.
You see the Validate Project dialog, showing the following warning. (If you don’t see any the warnings, click the Show Warnings ()button):
Warnings provide information and might not indicate a problem. For example, many global variables are provided by default, and you may not need to use any of them.When you run this validation check, you see a warning that the DebitTransaction destination does not have a default event. Providing one is the next step in the tutorial.For many projects, default event and default destination settings are useful, but they are not required for all projects.
2. In the Validate Project dialog, click the text beside the red circle (directly below DebitTransaction, and then click the Go To Resource button. The Configuration tab for the DebitTransaction destination displays.
3. Summary and Next StepsNow instances of the Debit event type will be created and asserted into working memory whenever a message arrives at the DebitTransaction destination.
Copyright © TIBCO Software Inc. All Rights Reserved.