Skip to main content

Configuring event actions

To configure an event action to interface with Remedy Action Request System, you must write the configuration file for the appropriate interface program. Modify the sample script included in the samples directory, and copy it to the \<instance>\script\. If you cannot find the sample file, try re-running setup to modify your installation. Sample files are automatically installed with complete (typical) installations. You can select them in custom installations.

When you configure an event, you enter the program name or the target ID you set up in earlier. In both cases, the program looks for the default script with the matching name:

Target type

Interface program

Script file name

Remedy Action Request System 7.5+ (Ticket)

pxrem.exe

pxrem.cfg

Remedy Action Request System 9.0+ (Ticket)

pxrem9.exe

pxrem9.cfg

You can write an alternative .cfg file; for example when you have multiple targets of the same type. When you configure an event, you specify the file using the -cfg parameter; for example:

  • pxrem.exe -cfg myfile.cfg

    or

  • MYREMEDY -cfg myfile.cfg

The pxrem program can search tickets based on multiple search terms. The search terms are combined so that the match record must match all search terms. When multiple tickets are found, it returns the first matching ticket.

Requirements

For Remedy Action Request System, the key-values shown in the table below must be included in the associative array used by the initializeInterface function. If you do not use a ticket target to configure events, you must define the variables shown in the table below in every Remedy ARS script.

The pxrem program uses ISO formatted dates for input/outputs. Dates must be input in UTC time. Dates are output in local time with timezone specifier; for example:

2011-02-02 15:47:25 (GMT-05:00)

Table 1. Required key-values for Remedy ARS

Key

Description of the value

adminid

The target system administrator ID. This user will frequently attach to the ARS database.

adminpwd

The password for the target system administrator.

language

The language being used – default is NULL for English.

form

The ARS form where the interface will look for and update data.

server

The name of the ARS server.