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.

Steps To create a user-defined event:

  1. Right-click an object in the Dependencies tree and select Change Event Description in the contextual menu.

    The Event Description dialog box appears.
  2. Type an event in the User-defined Events box.

    Note   User-defined event syntax
    Type each event in a single word, you can enter several events using semicolons as separator.


  3. Click OK in the Event Description dialog box.

    The Dependencies tree is empty since no matching event is found in the default propagation collections.
  4. 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.
  5. Insert a line in the list.
  6. Select a collection in the Collection dropdown listbox.
  7. Type the name of the user-defined event in the Trigger Event zone.
  8. 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.
  9. Click OK.

    The collection appears with the user-defined event in the dependencies tree.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.