 
  
Chapter 14  Impact analysis
Creating a user-defined event
You create a user-defined event when you need to analyze the consequences of a specific event. For example, the consequences of a data type change in a domain.
 To create a user-defined event:
 To create a user-defined event:
- Right-click an object in the Dependencies tree and select Change Event Description in the contextual menu.
 
 The Event Description dialog box appears.
- Type an event in the User-defined Events box.
 
  User-defined event syntax User-defined event syntaxType each event in a single word, you can enter several events using semicolons as separator. 
 
   
- Click OK in the Event Description dialog box. 
 
 The Dependencies tree is empty since no matching event is found in the default propagation collections.
   
- Click the Edit Default Propagation Rules tool in the Impact Analysis toolbar.
 
 The Propagation Rules Definition dialog box appears. The focus is on the metaclass corresponding to the selected object.
- Insert a line in the list.
- Select a collection in the Collection dropdown listbox.
- Type the name of the user-defined event in the Trigger Event zone.
- Type the name of the user-defined event or select an existing event in the Triggered Event dropdown listbox. The user-defined event name is case sensitive, you must use the same case as typed in the Event Description dialog box.
   
- Click OK.
 
 The collection appears with the user-defined event in the dependencies tree.
   
 
| Copyright (C) 2005. Sybase Inc. All rights reserved. |   |