Field type in parent CDT is getting changed from document to anytype when child CDT is updated

Certified Senior Developer

Hello All,

We observed one issue

1. Parent CDT -> one of the columns type is document

2. We updated the child CDT (added a new column) upon updating the child CDT, the parent CDT filed type changed from document to anytype.

Did anyone face the same issue?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Sneha Yada

    The data type "document" does only exist inside Appian. If you modify it outside of Appian, it will turn into an integer as this is the underlying representation.

    I consider this to be expected behaviour.

    BTW, I recommend to manage the data structures only in CDTs and let Appian maintain the DB schema. I think this fits the low-code spirit of Appian way better than hand crafted XSDs or SQL scripts.

Children