Generate Error Reports

You can configure a connector to generate reports of errors. To do this, set the dynamic property adv:EnableReport to TRUE. This enables an output relationship named report. The connector can send FlowFiles, each reporting a single error, to this relationship.

The generated FlowFiles have the following attributes.

Name Description
idol.report.iserror A Boolean value (true or false) that indicates whether the FlowFile represents an error.
idol.report.processorid The ID of the processor that generated the report.
idol.report.message The message associated with the report, for example "INGESTION: Failed 1 documents".
idol.report.param.* Additional keys and values from the report, if any.
idol.report.property.* You can add additional fixed properties to the error reports that are generated by a connector. To do this, add dynamic properties to the connector processor. The names of these dynamic properties must start with report:. For example, if you add a dynamic property named report:field1 then each error report FlowFile that is generated by the connector will have an attribute named idol.report.property.field1.