You are here: Basic Steps > 4. Rules > Check Rules Task > Rule Conformance Results Report

Rule Conformance Results Report

A completed Check Rules task provides results in HTML and XML (see Check Rules Task).

Clicking the HTML link displays the results in a new web browser window.

The XML report can be viewed or saved to a file.

HTML Report

The HTML report provides an overview of the conformance results and the IDs of the objects that fail the rule.

The following items are reported:

  • Simple attributes report back the value in the field
  • Arrays report back as a comma separated list
  • Foreign keys report back object
  • Complex attributes report back object

Example HTML report

Each rule provides a link for the description of the rule that has been breached.

Link to a rule that has been breached (highlighted red)

Clicking a View link on the right hand side of the report will open the Cache Viewer, which allows you to view the details of a non-conformant rule (see 1Integrate Cache Viewer).

XML Report

The XML report is a complete representation of the results from all Check Rules tasks.

There are six types of elements: Results, Summary, Object, Attribute, Value, and Array.

  • Results - The results element contains the system times for start and completion of the report
  • Summary - The summary element gives the totals for objects processed.
    • count: Number of objects that failed the rule
    • total: Total number of objects in the dataset
    • processed: Number of objects processed
    • error: Number of objects that could not be processed because of an unexpected error
    • label: Internal 1Integrate ID for the rule
  • Object - The object element is a container for attributes. The element identifies an object that failed the rule check, a foreign key, and a composite attribute.
    • class: name of the class of this object
    • gid: unique number to identify this object for references elsewhere in the XML
  • Attribute - The attribute element defines each attribute you selected in the internal schema mapping. There are five ways that attributes are represented:
    • Simple attributes contain a value element only
    • Arrays contain an array element followed by a number of value elements
    • Composite attributes contain an object element
    • Foreign keys contain an object element referring to the foreign key class
    • Objects referenced elsewhere in the XML have a class reference and ID

    Note: An attribute is referred to by name of the attribute. Attributes that have already been referenced elsewhere in the XML also use class_ref (name of the class referred to in the object element) and gid_id (unique number that identifies this object in the XML).

  • Value - The value element displays the content of an attribute
  • Array - The array element identifies an attribute as an array. The XML contains a value sub-element for each item in the array.

An example of the XML structure is given below:

<Results>

<Summary>

</Summary>

<Object>

<Attribute>

<Value>

</Value>

</Attribute>

<Attribute>

<object>

</Attribute>

<Attribute>

<Array>

<Value>

</Value>

</Array>

</Attribute>

</Object>

</Results>