Question Most Common
What are ways to create CDT in Appian?
A
Anonymous
December 4, 2025
114
Answer
Ways to create a CDT (Complex Data Type) in Appian:
There are four primary ways to create a Custom Data Type (CDT) in Appian.
1. Create a CDT Manually (From Scratch)
You can create a CDT manually in Appian Designer by defining its structure.
This allows you to configure:
- Field names and data types (Text, Integer, Decimal, Boolean, Date, etc.).
- Single-value or multiple-value fields.
- Primary key and database mapping annotations, if required.
- Relationships and other XSD annotations.
2. Create a CDT by Importing an XSD
Appian supports importing an XML Schema Definition (XSD) file to create a CDT.
- Appian generates the CDT based on the schema.
- Field names, data types, and supported annotations are derived from the XSD.
- Useful when working with existing XML schemas or complex data structures.
3. Create a CDT from an Existing Database Table or View
Appian can automatically generate a CDT based on an existing database table or view.
- Creates the CDT using the database structure.
- Maps database columns to appropriate Appian data types.
- Generates database mapping annotations, including primary key information where applicable.
- Can optionally create a corresponding Data Store Entity.
4. Create a CDT by Duplicating an Existing CDT
Appian allows you to duplicate an existing CDT rather than creating one from scratch.
- Copies the existing CDT structure and field definitions.
- Retains the data types and supported annotations.
- Allows modifications without affecting the original CDT.
- Useful when multiple CDTs share similar structures.
Check yourself
Question 1 of 3, on what the answer above covers.
- 1.You already have an XML schema file that describes a complex data
- 2.You create a CDT from an existing database table. Which of these does Appian generate for you?
- 3.You need a new CDT that is almost identical to an existing one, and you must not affect the original. What should you do?
JuniorData Type