Previous Topic: Input RejectionNext Topic: Running GRLoader with Translation Enabled


Rule Syntax

The following table describes the XML tags that are used in a data translation rule set.

Tag

Description

<?XML version="1.0" encoding="codepage"?>

Enables different code pages for GRLoader.

<ruleset>

Begins a rule set. A ruleset can contain many rules.

<rule>

Begins a rule

<attribute>attr_name</attribute>

Specifies an attribute that the rest of the rule applies to. attribute must be a valid CA CMDB attribute name.

<from>value</from>

Specifies a value to be changed. The <from> tag is modified by the <comparetype> tag.

<to>value</to>

Specifies the replacement value

<comparetype>value</comparetype>

(Optional) Specifies one of the following values:

  • equals
  • startswith
  • endswith
  • contains
  • equalsignorecase

If not specified, "equals" is the default.

<reject>yes</reject>

Specifies that GRLoader reject the CI or relationship.

Yes can be specified as "yes" or one (1).

No can be specified as "no" or zero (0).

If not specified in a rule, the default is "no" (reject).

<rulename>rule_name</rulename>

(Optional) name assigned to identify this rule. This name appears in debugging messages.

</rule>

Ends a rule

</ruleset>

Ends a rule set