002721: The system maintained field cannot be assigned to a calculation rule.

Description

The field that is referenced for the calculation rule is a system-maintained field and cannot be used—for example, ObjectID, GlobalID, Shape length, Shape area, and so on.

The ArcPy Field class can be used to query which fields have the Required property.

Solution

The error provides the name of the class and the rule that triggered the error. Ensure that the field used for the calculation attribute rule is not system maintained.

For more information, see Introduction to attribute rules and review the documentation for the Add Attribute Rule and Import Attribute Rule tools.