Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Defining TDS, EES, SES, and TEM Tables : Task C: Specify Event Rules

Task C: Specify Event Rules
Purpose of this Task
In this optional task, you specify event rules if you need to associate business rules and policies with the definition of a table. The rules that you name here are run whenever data in the table is manipulated. There are two types of event rules that you can specify using the event rule segment of the screen:
For more information on trigger and validation rules, refer to Coding Event Rules.
Event Rule Segment
The following example illustrates the fields used to specify event rules.

 
Event Rule Typ Acc
--------------- - -
’_ DELETEMPNO T D
’_ VALIDEMPNO V I

 
Considerations for Defining Event Rules
Use the following table to determine if you should define event rules, the type of event rules to define if they are required, or the TIBCO Object Service Broker option to use if they are not required.
Use an Event Rule
Type of Event Rule
You need to validate data using rules processing as it is being accessed.
Additional processing should be initiated when a table is accessed, for example, to maintain a one-to-one relationship between two tables.
Logging on option available from TIBCO Object Service Broker security.
Event Rule, Typ, and Acc Fields
The rules that you enter here are run based on defined accesses. All the rules that apply to a specific access are executed in the order in which they are entered in the event rule segment. For valid values, press PF1.
 
Specify the type of data access that invokes the event rule. Only one access type can be specified for each entry to the Typ field.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved