'vAutoMate Notifier

Use the Automate Notifier to trigger an Automate task when specified conditions are met.

Connecting to the AutoMate Server

Before you can create an AutoMate notifier, you need to enable the connection to an AutoMate Server. The AutoMate Server must be running on the same machine as the InterMapper Server. For more information see the section on configuring AutoMate (Pg 1) in the Server Settings.

To configure an AutoMate notifier:

  1. From the Notifier Type dropdown menu, choose AutoMate. The AutoMate Notifier configuration window appears.
  2. Click Edit Task... The Notifier Task window appears:
  3. Click Select Task... to select from a list of available tasks.
  4. In the Run By section, choose whether to execute the task by Path or ID. HelpSystems recommends that you select ID, because it reduces the traffic between InterMapper and AutoMate.
  5. Enter a Password if one is required by the AutoMate task's security configuration.
  6. Click OK. The task is selected.
  7. Set Retry and Consolidation settings as described below and click Test to run the notifier and trigger the task.

Note: If a task is disabled in AutoMate, the task still appears in the available task list, but will not run when the notifier is triggered.

Retry and Consolidation Settings

Use the Retry and Consolidation settings to specify when to run or retry a task.

Note: An AutoMate notifier is not triggered again until the selected AutoMate task is complete.

Accessing InterMapper Variables in an AutoMate Task

When an AutoMate notifier is triggered, InterMapper writes data about the triggering device to a CSV file, and grants the AutoMate task access to it. Through this file, AutoMate can access InterMapper variables, which can be used by the task in a wide variety of ways.

In order for AutoMate to access this data from an AutoMate task, the task should include these steps:

  1. Wait for exclusive access to InterMapper's CSV file. (A timeout value of 30 seconds is recommended.)
  2. Read the CSV file into a dataset.
  3. Iterate over the rows of the dataset, gathering the data you need.
  4. Delete the CSV file.

A sample task that completes these steps is supplied with InterMapper. The file, called NotifierTest.aml can be found at:

%Installation Folder%\InterMapper\docs\samples\automate\

To run the test task:

  1. Drag this file into the AutoMate Task Administrator.
  2. Create an Automate notifer.
  3. Select the the task to be triggered by the Automate notifier. The task presents a dialog that displays received values for all of the parameters listed above. Edit the task in the visual editor to see how to access each parameter.

In the AutoMate task editor, you can access these parameters with this syntax:

%PARAMETERS.[InterMapper variable name]%

Here is a list of available parameters: