KB-1585 index() performs poorly when indexing into data with a structure defined by a CDT created using a Call Web Service Smart Service node

Symptoms

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.

Cause

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.

Action

  1. Open the process model originally used to import the CDTs.
  2. Open the Call Web Service node and hit the "Refresh Services" button.
  3. Save and Publish the process model.

To prevent future instances of this issue, make sure to always Save and Publish the process model if "Refresh Services" is run.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: May 2018

Related
Recommended