Skip to main content

Configuring event actions

To configure an event action to interface with BMC Remedyforce, you must write a configuration file. Modify the pxremedyforce.cfg sample script included in the samples directory and copy it to the \<instance>\script\ directory. 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, enter the program name or the target ID you set up earlier. In both cases, pxremedyforce looks for the script with the matching name. You can write an alternative .cfg file; for example when you have multiple BMC Remedyforce targets. When you configure an event, you specify the file using the -cfg parameter; for example:

  • pxremedyforce.exe -cfg myfile.cfg

    or

  • MYTARGET -cfg myfile.cfg

Requirements

If you do not use a ticket target to configure events, you must define the variables shown in the table below in every BMC Remedyforce script.

Table 1. Required variables for BMC Remedyforce

Variable

Description of the value

adminid

The user ID of a user with permissions to perform all operations that you require.

adminpwd

The password for the above user.

server

The URL/URI of the BMC Remedyforce web service.

securityToken

The security token that is associated with the password for the above user.



Your security token is automatically sent to you when your salesforce.com password is changed or when you request to reset your security token. If you do not know your security token, you can request to reset it:

  1. Log into BMC Remedyforce.

  2. Click on your account ID.

  3. Click Setup > My Personal Information > Reset My Security Token.

    A new security token will be sent to you via email by salesforce.com.