Data records views facing APNX error when viewing interfaces

Certified Senior Developer

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).

error screenshhot

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”,
  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
  )
)

recordLink for List

  Discussion posts and replies are publicly visible

  • 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? 

  • 0
    Certified Senior Developer
    in reply to Harshit Bumb (Appyzie)

    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.
    recordLink for refId

  • +1
    Certified Senior Developer

    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.