An issue while importing applications into different environments due to nested CDTs

Hi,
I am facing an issue while importing applications into different environments due to nested CDTs.
Getting error "An error occurred while creating datatype [uuid={urn:com:appian:types:ADMIN}ADMIN_DF_PI_createConfig]: The XSD could not be imported because it references a missing type: {urn:com:appian:types: Q1}ADMIN_DF_PI_resource. No types have been imported. (APNX-1-4049-001) (APNX-1-4071-007)"
here ADMIN_DF_PI_createConfig is parent CDT, and ADMIN_DF_PI_resource is child CDT, both are existing in the same application
Due to this remaining CDTs also not imported "The datatype [{urn:com:appian:types:ADMIN}ADMIN_CRE_siteDetails] could not be transported. Cause: The data type [{urn:com:appian:types:ADMIN}ADMIN_CRE_siteDetails] could not be imported because another data type failed to import. In order to ensure consistency, unless all data types inside and outside the package successfully import, no data types are created or updated. (APNX-1-4071-019) (APNX-1-4071-000)"
Anyone has a solution or document to how to fix this.
Regards,
Mahesh

  Discussion posts and replies are publicly visible