Creating Models for User-Defined Events
Follow these steps to create a new model for a User-Defined Event (UDE). Also refer to Adding Subtypes for User-Defined Events.
-
Click Global Configuration.
-
Double-click Administer Models.
-
In the Event Detection Model Manager dialog box, select the desired model that you want to use as a template and click New. This will automatically open the Model General tabbed page.
-
Click the Model General tab and do the following:
-
In the Name box, type a name for your new Model.
-
From the Event Type drop-down list, select User-Defined Event.
-
A new model number is automatically created for you. If you want to change this model number, type the new model number in the Number box.
NOTE: User-created models are given a model number greater than 50000.
-
If necessary, type a new version number in the Version box.
-
Under Model Comments, type any additional information you want in this box.
-
Click the Model Properties tab and do the following:
-
Click New to add a new property.
-
To specify a default value for a property, select the property and then click the Browse button
. In the Assign Property Value dialog box, choose or type the default value and click OK.
NOTE: Your stored procedure will need to issue a result set of type 8.
-
Select Property Is Locked at Configuration Time to prevent the property from being edited when the event is configured on the production unit.
-
Select Property Is Optional to make the property optional, rather than required.
-
Under Property Comments, type any additional information you want in this box.
-
On the User-defined Properties tab, add any other properties you want for this model.
-
Close the Event Detection Model Manager dialog box.