Previous Topic: General FeaturesNext Topic: Incident Management Business Logic Modules


Criteria Parameter Structure

There are two parameters that define criteria in the Success Calculations module: the filter criteria and the success criteria. The structure of these parameters is identical.

The function is called with the current event details (i.e. the eventDetails parameter from the event handler) so as to base the success test on the details of the event being handled. This table parameter includes all the information needed to decide whether the current event is to be considered a success or not.

The return value is either true or false, based on the calculated result.

No entries in this table mean that all entries are considered successful.

The success criteria is calculated based on a comparison of a single or multiple fields to specific values, or based on the evaluation of expressions. Multiple criteria lines are joined based on user defined logical relations.

For example, if a successful event is defined as one that has a value in the field result that is between 3 and 6, the user would supply two lines, using the and relationship, and ask for:

result > 3 and result < 6

The format of the table is as follows:

Row #

Argument 1

Operator

Argument 2

Inter-row logical link

1

 

 

 

 

2

 

 

 

 

 

 

 

 

The table fields are:

Success Calculation Module Interface

The following table lists the parameters.

Name

Description

IgnoreTimeslots

(optional, string [True/False]) - whether to handle events that occur outside of timeslot.

Debug

(optional, string [True/False]) - whether to print debugging comments to the log.

AggregationType

(optional, string [SUCCESSCOUNT,PERCENTOFSUCCESS]) - Whether to calculate the percent of success or the count of successful entries.

SuccessCriteria

(mandatory, table)- How to determine if an event is to be considered a success or a failure

FilteringCriteria

(optional, table) - How to determine if an event is to be handled or filtered out.

EventIdFieldName

(optional, string) - The name of the field to us as an event identifier for repeat event recognition.

Module Dependencies

The following table lists the included modules.

Name

Description

Log Library (LL)

Library for enhanced logging functionality.

Parameters Kernel Library (PKL)

Library responsible for verifying and populating module parameters.

Aggregation Library (AL)

Library used to produce results for common calculations.

Callback Kernel Library (CKL)

Library that enables the callback functionality.

Parameters Overlay - Basic Actions Library (POBAL)

Library that contains specific parameter loading functions and calls the parameters kernel library for the actual loading of the information.

Distinct Entity Library (DEL)

Library responsible for telling the caller whether a specified entity has already been seen.

Filtering Criteria Evaluation Library (FCEL)

Library responsible for filtering events according to user specifications.

Success Criteria Evaluation Library (SCEL)

Library responsible for the decision as to whether the current event is to be considered a success or a failure.