Setting Up the Action Framework

This chapter provides an overview of the action framework and discusses how to:

Click to jump to parent topicUnderstanding the Action Framework

The action framework allows users to specify the actions to be executed when policy conditions evaluate to true within a trigger point.

Click to jump to top of pageClick to jump to parent topicArchitecture of the Action Framework

The architecture of the action framework comprises:

Click to jump to parent topicUnderstanding Action Types

An action type refers to a category of actions that can be associated with a policy. For use in the framework, an action type must be registered with the following information:

Click to jump to parent topicUnderstanding How Actions Execute

After the framework evaluates conditions for all a trigger point's policies, the actions associated with the policies having true conditions are forwarded to the action framework. The action framework is responsible for firing the actions.

Only one terminal action can be fired for any trigger point. Because a trigger point may be associated with one or more policies, and each policy may include more than one action, it is possible that more than one terminal action is associated with a trigger point. In this case, the first terminal action in the first policy that evaluates to true is executed. If present, a terminal action fires after executing all the non-terminal actions.

Individual action types determine how actions can be combined. Some action types, such as the display alert, combine all their actions from the same trigger point. Therefore at runtime, all the display items appear in the same popup window.

Note. In order that display actions execute, popup blockers must be turned off.

An action that is not combinable will not affect the execution of another action.

Click to jump to parent topicRegistering Action Types and Action Type Bundles

This section describes the components used to register action types and action bundles.

Click to jump to top of pageClick to jump to parent topicPages Used in This Chapter

Page Name

Object Name

Navigation

Usage

Register Action Type

EOCF_ACTN_TYPE_REG

Enterprise Components, Active Analytics Framework, Action Framework, Register Action Type

Registers an action type.

Action Type Triggers

EOCF_ACT_TYP_EVNTS

Enterprise Components, Active Analytics Framework, Action Framework, Register Action Type, Action Type Triggers

Specifies action type triggers.

Register Action Type Bundle

EOCF_ACTION_BUNDLE

Enterprise Components, Active Analytics Framework, Action Framework, Register Action Type Bundle

Defines bundles of combinable action types.

Click to jump to top of pageClick to jump to parent topicRegistering Action Types

This section describes how to register action types. Access the Register Action Type page.

Action Type Name

Name of a class of similar actions.

DesignTime Action Behavior

Specify the design time details of the action type. When adding actions of this action type in a policy, these design time specifications are used to present the action type configuration page and store the configuration.

RunTime Action Behavior

Specify the runtime details of the action type. The application class details specified here are executed at runtime to trigger actions of this type.

Triggering Environment

Specify the triggering environments to be supported for this action type.

Registering Action Type Triggers

Access the Action Type Trigger page.

Select the appropriate checkboxes to associate this action type with listed trigger types and trigger points.

Click to jump to top of pageClick to jump to parent topicRegistering Action Type Bundles

This section describes how to register action type bundles. Access the Register Action Type Bundle page.

Enter a name and description for this action type bundle. Select the action types that can be combined from the dropdown list in each row.