Skip to main content
marcusm0003
July 22, 2022
Solved

Data records views facing APNX error when viewing interfaces

  • July 22, 2022
  • 3 replies
  • 0 views

I am trying to upgrade appian records to utilize v 21.2 features.

Data source, list, sync has been done up without errors.

However, when I passed in rv!records into the SummaryView interface (old), when I go into the list and click into the appID, i will be faced with this error -

An Error Has Occurred ???APNX-1-4205-046??? (APNX-1-4205-046).



Or will i have to refactor summaryView to utilize dot notations? I kinda tried it but its not really working as well. Do let me know if you require more information?

a!localVariables(
  local!serviceArea: â`œxxxâ`%9D,
  rule!SummaryView(
    refAppId: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}pid'],
    owner: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}owner'],
    assignedTo: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}assignedTo'],
    status: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}refStatusId'],
    isMyGrantRecord: true(),
    recordType: cons!MGP_CMN_RT_APPLICATIONSUPGRADE,
    dashboardLink: "_xxx",
    isChangeRequestEnabled: rv!record['recordType!{xxx}Applications Upgrade.fields.{5532b255-c907-4310-9be3-55f9973e3ee2}isChangeRequestEnabled'],
    type: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}type'],
    recommendedFor: rv!record['recordType!{xxx}Applications Upgrade.relationships.{xxx}assessApplicationUpgrade.fields.{xxx}recommendedFor'],
    isGam: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}isGam'],
    grantSchemeCode: rv!record['recordType!{xxx}Applications Upgrade.relationships.{xxx}routingMatrixUpgrade.relationships.{xxx}grantSchemeUpgrade.fields.{xxx}code'],
    isMasterOverview: false(),
    serviceArea: local!serviceArea
  )
)

Best answer by marcusm0003

By the way, I have found the root issue for this error. One of the dependencies sycned relationship records are having write failure error. When I manually sync it, it will rectify this error. 

3 replies

harshitb6843
July 22, 2022

It is hard to tell the problem or its solution. Can you please add the screenshots of your view configuration inside the record and the interface that you have plugged as a view, along with the RI configuration made on that interface? 

marcusm0003
July 22, 2022

a!localVariables(
  local!serviceArea: xxx
  ),
  rule!SummaryView(
    appId: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}pid'],
    owner: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}owner'],
    assignedTo: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}assignedTo'],
    status: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}refStatusId'],
    isMyGrantRecord: true(),
    recordType: cons!MGP_CMN_RT_APPLICATIONSUPGRADE,
    dashboardLink: "_xxx",
    isChangeRequestEnabled: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}isChangeRequestEnabled'],
    type: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}type'],
    recommendedFor: rv!record['recordType!{xxx}Applications Upgrade.relationships.{xxx}assessApplicationUpgrade.fields.{xxx}recommendedFor'],
    isGam: rv!record['recordType!{xxx}Applications Upgrade.fields.{xxx}isGam'],
    grantSchemeCode: rv!record['recordType!{xxx}Applications Upgrade.relationships.{xxx}routingMatrixUpgrade.relationships.{xxx}grantSchemeUpgrade.fields.{xxx}code'],
    isMasterOverview: false(),
    serviceArea: local!serviceArea
  )
)

the respective xxx are to replace the confidential components.

The list components for a!recordLink is attached as well.

marcusm0003
marcusm0003AuthorAnswer
July 28, 2022

By the way, I have found the root issue for this error. One of the dependencies sycned relationship records are having write failure error. When I manually sync it, it will rectify this error.