Validating Rules
Windchill will ensure that your XML syntax you intend to use for the rule is correct. Before adding a rule, you should ensure that the following items are true about the XML that is associated with the rule:
The specified object type exists in the Windchill solution.
Each of the attributes specified are valid for the specified object type.
All object types supported by object initialization rules are specified in the RuleConfigurableTypeAttribute.properties file.
All attributes of the object initialization rule object types that can be used in AttrConstraint tags are specified in the RuleConfigurableTypeAttribute.properties file. See Configuring Rules.
The specified algorithm class exists in the Windchill solution.
The values of the specified arguments are valid for the specified algorithm.
This validation scheme is not fool-proof since subtype changes can be made after rules are made; however, it does ensure that the XML provided for the rule is valid at the time it is added to the Windchill solution.
Isto foi útil?