ADMINISTERING


Passing event parameters using the Run Program notification method

To use the Run Program notification method, you must have created a program that you want to run when a particular event occurs. You must have a comprehensive understanding of the programming language you use to create the program in order to know which parameters you want to use. The run program event handler passes information to the program as a parameter when the program runs.

Before you begin

Complete the task Creating an event handler.

About this task

The following event parameters can be passed to a program in the order in which they are listed. All parameters are passed as text except for the error code, which is passed as a number.


Procedure

1. Click the Action tab.

2. In the Method field, choose Run Program.

3. In the Program name field, enter the name of the program that is to be run.

4. Select the event parameters to be passed to the program when the program is run.

5. Specify switches to be used with the corresponding parameter.

6. Optional: If the program you are running generates a server command, specify the command in the Command line field. For example, if you are running a program that issues the server command Compact and any optional arguments such as -D, enter the command in this field.

7. Specify whether to run the program on the server on which the event occurred, or on another server that you specify.

8. Specify one of these enablement options: