You are here: Processor Library > Advanced > Generate Warning

Generate Warning

The Generate Warning processor is designed to generate a warning, and/or trigger a process failure, in the event of processing a certain number of records (over a configurable threshold).

Use

Use the Generate Warning processor in conjunction with the notification capabilities in Jobs if you want to be made aware of any warnings when running processes. For example, you might use an audit processor to check for data validity, and you might wish to raise a warning if >n records fail the check. You might even want to fail the process to ensure that you don't continue running, if you know the remaining parts of the process need to be rerun in any case.

The Generate Warning processor therefore allows you to set your own definition of what constitutes a 'data error' that you wish to see in the Event Log and in any notification emails.

Generate Warning and Intelligent Execution

To avoid generating unnecessary warnings when running the same process repeatedly while designing it, the Generate Warning processor only generates a new warning if its rerun marker is set as below...

...or if run in a process or job with intelligent execution turned off.

The rerun marker will always be set if a new set of data is being input to the process, or if the configuration of the processor is changed.

 

Configuration

Inputs

This processor does not require any inputs.

Options

Option

Type

Purpose

Default Value

Warning Message

Free text

The warning message that will be output to the Event Log, and in any notification emails.

None

Warning Record Threshold

Number

The number of records that will trigger the warning message.

1

Abort Process On Record Threshold

Yes/No

Determines whether or not to fail the process based on the Failure Record Threshold.

No

Failure Record Threshold

Number

The number of records that will trigger a process failure (abort).

None

Outputs

Data attributes

None

Flags

None

Execution

Execution Mode

Supported

Batch

Yes

Real-time Monitoring

Yes

Real-time Response

Yes

Results Browsing

The Generate Warning processor does not output results. Note that if the process is aborted due to the Failure Record Threshold being reached, none of the processors in the process will have any results.

Output Filters

None

Example

In this example, Generate Warning is used to trigger a warning message if >1000 records are found to have an invalid Country Code. The options are set as follows:

Warning Message: 1000 or more records with invalid country code.

Warning Record Threshold: 1000

Abort Process on Record Threshold: No

As more than 1000 records are found to have an invalid country code, the warning message is output to the Event Log. If a notification email has been set up on a Job running this process, it will include the warning message.

Oracle ® Enterprise Data Quality Help version 9.0
Copyright © 2006,2011 Oracle and/or its affiliates. All rights reserved.