You are currently reviewing an older revision of this page.

KB-XXXX System rule references revert to deprecated versions of system rules

Symptom

After saving an interface or expression rule, references to some system rules such as a!queryEntity() and a!dashboardLayout() revert to older versions, like a!queryEntity_18r3() and a!dashboardLayout_17r1(). For example, the following SAIL code:

with(
local!myCdt: 'type!{urn:com:appian:type:ESRR}MyCDT'(),
local!data: a!queryEntity(
entity: cons!consToDS,
query: a!query(
pagingInfo: a!pagingInfo(1,-1)
)
),
a!dashboardLayout(
contents: a!textField(
value: "abc"
)
)
)

Would appear after saving as:

with(
local!myCdt: 'type!{urn:com:appian:type:ESRR}MyCDT'(),
local!data: a!queryEntity_18r3(
entity: cons!consToDS,
query: a!query(
pagingInfo: a!pagingInfo(1,-1)
)
),
a!dashboardLayout_17r1(
contents: a!textField(
value: "abc"
)
)
)

Cause

This issue occurs when the SAIL code contains an invalid data type, meaning the wrong name or namespace is specified in the code. In the example code above, the namespace is written as {urn:com:appian:type:ESRR}, rather than {urn:com:appian:types:ESRR}.

The issue has been reported for investigation by the Appian Product Team as AN-129712.

Action

To resolve the issue, take the following steps:

  1. Locate the invalid data type reference in the SAIL code
  2. Correct the erroneous reference to refer to the correct data type name and namespace
  3. Remove the the _1*r* notation from impacted system rules
  4. Save the interface or expression rule 

Affected Versions

This article applies to Appian 19.1.

Last Reviewed: April 2019