Skip to main content
Question Most Common

What are ways to create CDT in Appian?

A
Anonymous
December 4, 2025

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:

  1. Field names and data types (Text, Integer, Decimal, Boolean, Date, etc.).
  2. Single-value or multiple-value fields.
  3. Primary key and database mapping annotations, if required.
  4. 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.

  1. Appian generates the CDT based on the schema.
  2. Field names, data types, and supported annotations are derived from the XSD.
  3. 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.

  1. Creates the CDT using the database structure.
  2. Maps database columns to appropriate Appian data types.
  3. Generates database mapping annotations, including primary key information where applicable.
  4. 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.

  1. Copies the existing CDT structure and field definitions.
  2. Retains the data types and supported annotations.
  3. Allows modifications without affecting the original CDT.
  4. Useful when multiple CDTs share similar structures.

Check yourself

Question 1 of 3, on what the answer above covers.

  1. 1.
    You already have an XML schema file that describes a complex data
JuniorData Type