Nested CDTs

Certified Lead Developer

I wanted to know what's Appian best practices when it comes to nested CDTs. How many levels deep should a CDT be nested? What are the draw-backs of nesting too deep? Are there any advantages of creating a view and mapping it to CDT instead of doing a nested CDT? Any input on this is greatly appreciated. Thanks.

  Discussion posts and replies are publicly visible

Parents
  • Nested CDT has some advantages as well as some limitations also.

    Advantages:

    1. There is no need for creation of view if we use nested cdt.
    2. We can fetch data of child cdt from parent cdt

    Limitations:

    It has much more limitations than advantages:

    1. Debugging of process instance is much difficult.
    2. We can't give a name of column in master table.
    3. Unnecessarily we need to fetch child table data


    and many more disadvantage So View is much better approach than nested cdts.
Reply
  • Nested CDT has some advantages as well as some limitations also.

    Advantages:

    1. There is no need for creation of view if we use nested cdt.
    2. We can fetch data of child cdt from parent cdt

    Limitations:

    It has much more limitations than advantages:

    1. Debugging of process instance is much difficult.
    2. We can't give a name of column in master table.
    3. Unnecessarily we need to fetch child table data


    and many more disadvantage So View is much better approach than nested cdts.
Children