Previous Topic: Modifying or Extending Notification Manager

Next Topic: Notification Manager Parameter Levels


Defining Methods to Notification Manager

Methods are aliases for a REXX program and a set of parameters. For Notification Manager to notify someone, it must use REXX programs that actually know how to communicate with the outside world. For example, the NMVOICE program knows how to send speech over a phone line and accept DTMF input, and the NMPAGE program knows how to send a page to a TAP-compliant paging service.

CA provides you with a starter set of the following REXX programs to use when creating your methods:

Using these programs, CA creates the following methods in the sample Notification Manager database that is shipped with the Notification Manager component:

The open architecture of Notification Manager allows you to create your own REXX programs and use them to define additional methods that Notification Manager can use when attempting to notify people.

Consider the following points as you decide on the set of methods your Notification Manager installation will have:

While you can simply define a single method that is always used to invoke NMVOICE and another that is always used to invoke NMPAGE, it is probably not in your best interest to do so. Rather, you should use the capabilities of Notification Manager to create methods that have "personality." For example, the NMVOICE program has several parameters that specify the number of times to call a person, the number of times to let the phone ring on each call attempt, and the amount of time to wait between attempts.

You may want Notification Manager to persistently try to notify a particular person, or to run quickly through a whole list of people because you need an answer quickly. You can accomplish this by creating the following methods:

It is much easier to specify the LongVoice method during a particular time block than it is to specify the NMVOICE method and the parameters and values that make it behave like the LongVoice method.