You are currently reviewing an older revision of this page.

DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error

Symptoms

Saving a CDT nested CDT fails with the following error:

The following types cannot be used, because they do not have a definition in the Appian data source: [PIA_Inspection (id=2976), PIA_Employee_Skill (id=2978), PIA_Timeoff (id=2980), PIA_Complaint (id=2982), PIA_Customer_Giveaway (id=2984), PIA_Franchise (id=2968), PIA_Customer_Marketing_Material (id=2986), PIA_Employee (id=2970), PIA_Customer (id=2972), PIA_Loyalty_Transaction (id=2974)]

A similar error message is also found in the application server log:

ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.
java.lang.IllegalArgumentException: The type {urn:com:appian:types}Example_Type is referenced, but is not defined in the XSD.

Cause

This issue has been reported to the Appian Product Team. The reference number for this issue is AN-128273.

Workaround

This section is optional and should only be used as an alternative action if there is a massive technical debt associated with performing the action in the above section for customers (such as upgrading). It can also be used if there is a solution to the issue in the article but is more inconvenient to implement or it causes other undesirable behavior and wouldn’t warrant being an action.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: June 2020