KB-1301 "Expression evaluation error at function a!appdesigner_registerLoadEditWindow [line 48]: (no message)" error thrown when creating a record type object

Symptoms

When attempting to create a record type object, the action fails and the following message is displayed:

Error Evaluating UI Expression

Expression evaluation error: [valid:false,syntaxError:false,value:Expression evaluation error: An error occurred while executing a save: Expression evaluation error at function a!appdesigner_registerLoadEditWindow [line 48]: (no message)]

The application server log prints the following:

INFO [stdout] (http-/0.0.0.0:8080-5) 2016-10-18 19:51:50,317 [http-/0.0.0.0:8080-5] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
...
INFO [stdout] (http-/0.0.0.0:8080-5) com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error : [valid:false,syntaxError:false,value:Expression evaluation error: An error occurred while executing a save: Expression evaluation error at function a!appdesigner_registerLoadEditWindow [line 48]: (no message)] (APNX-1-4198-000)

Cause

A CDT exists with the name “RecordType.”

Action

Recreate the CDT (from scratch or by copying) and choose a name that is not “RecordType”:

  1. In /design, click New > Data Type.
  2. In the Create Data Type window, select Duplicate Existing Data Type.
  3. For Data Type to Duplicate, select “RecordType”.
  4. For Namespace, select a namespace.
  5. For Name, create a new name for your CDT.
  6. Click Create.
  7. Delete the original CDT with the name “RecordType”.

Note: Avoid creating CDTs with a name that is identical to system CDTs.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: January 2017

Related
Recommended