Previous Topic: Deploying Administration Console on IBM WebSphere 7.0Next Topic: Troubleshooting RiskMinder Errors


Adding Custom Actions

Each channel in RiskMinder has a set of actions associated with it. An action, in turn, has data elements associated with it. A rule in RiskMinder is a specific combination of the elements associated with an action for a channel or set of channels.

This section describes the procedure to add a custom action. While adding a custom action, you specify the channel with which the action must be associated. The elements that are associated with the other actions defined for that channel are automatically associated with the new action. You can use these elements to build rules for the new action.

Note: If you plan to build rules for actions that are available in all channels, then you must first add the action in each channel.

Follow these steps:

  1. (Optional) Perform the following steps if you do not know the name of the channel with which you want to associate a new action:
    1. Log in to the Administration Console as a GA.
    2. Click the Services and Server Configurations tab.
    3. Under the Rules Management section on the side-bar menu, click the Rules and Scoring Management link.

      The Rules and Scoring Management page opens.

    4. Select any ruleset from the Select a Ruleset list.
    5. Click Add a New Rule.

      The RiskFort Rule Builder page opens.

    6. Note down the name of the channels for which you want to add new actions.
  2. Ensure that you have the database privileges listed in Configuring the Database Server.
  3. Log in to the database.
  4. Run the following command to determine the ID of the channel to which you want to add the action:
    select channelid from arrfchannel where channelname='<channel-name>';
    

    In this command, replace <channel-name> with the name of the channel.

  5. Run one of the following commands:

    Note: In the command that you run, replace <channel-id> with the channel ID that you determine by running the previous step. Similarly, replace <action-name> with the name of the channel. The action name can contain alphanumeric characters and the underscore character. No other character can be used in the action name.

    The following message appears:

    "New action added successfully for the given channel."
    

    The new action is added in the database.

  6. Refresh cache. See the CA RiskMinder Administration Guide for instructions.
  7. Verify that the action has been successfully added as follows:
    1. Log in to the administration console.
    2. Navigate to the Rules and Scoring Management screen.
    3. Click Add a new rule.
    4. Check whether the newly added action is displayed in the Actions list.

    After you verify that the action has been added, you can start using it to build new rules.