RootCause Complex Type

Defines a root cause that the package can detect.

<xs:complexType name="RootCause">
    <xs:sequence>
        <xs:element name="Data"
            type="dcmRR:Data"
            maxOccurs="2"
            minOccurs="2"
         />
        <xs:element name="ResolutionInformation"
            type="dcmRR:ResolutionInformation"
            maxOccurs="1"
            minOccurs="1"
         />
        <xs:element name="DetectionInformation"
            type="dcmRR:DetectionInformation"
            maxOccurs="1"
            minOccurs="1"
         />
    </xs:sequence>
    <xs:attribute name="id"
        type="xsd:string"
        use="required"
     />
    <xs:attribute name="name"
        type="xsd:string"
        use="required"
     />
</xs:complexType>

Child elements

Element Type Description
Data [dcmRR:Data](report-data-complextype.md) The root cause contains a Data element for each of the following properties:
  • The description of the root cause. The Id attribute for this property is Description.
  • The status that indicates whether the package tried to detect the root cause. Possible values are:
    • Detected the root cause was detected but could not determine if the issue was fixed
    • Not Detected the root cause was not detected
    • Not Checked the troubleshooter script was not called
    • Fixed the root cause was detected and fixed.
    • Not Fixed the root cause was detected but not fixed.
    The troubleshooter sets the Detected and Not Detected status values, and the verifier sets the Fixed and Not Fixed status values. The Id attribute for this property is Status.
The text body of the Data element contains the property's value.
DetectionInformation [dcmRR:DetectionInformation](report-detectioninformation-complextype.md) Defines the section of the report that contains the custom details that the package author added to the report for this root cause. The custom detail is added to this section only if the script specifies the -RootCauseId parameter when it calls the [Update-DiagReport](update-diagreport-cmdlet.md) cmdlet.
ResolutionInformation [dcmRR:ResolutionInformation](report-resolutioninformation-complextype.md) Defines the collection of resolvers that can fix the root cause issue.

Attributes

Name Type Description
id xsd:string An identifier that uniquely identifies the root cause.
name xsd:string The name of the root cause.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]