CDT definitions are imported via process model using the Call Web Service Smart Service node. When using the index() function to index into data sets defined by those CDTs, performance of that function is poor.
The CDTs that define the structure of the data being indexed have a temporary flag and thus are not cached in the app server.
CDTs get a temporary flag if they are imported or updated by running "Refresh Services" on a Call Web Service Smart Service node and then the process model is closed without being saved and published.
To prevent future instances of this issue, make sure to always Save and Publish the process model if "Refresh Services" is run.
This article applies to all versions of Appian.
Last Reviewed: May 2018
© 2020 Appian. All rights reserved.