The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006) in service backed record

Hi All, I am working on a use case, where I have configured record with integartion(service backed recordrd type) using a dynamic link in a grid to redirect to summary page,

I am getting "The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)" this error while clicking the link to see summary .

Can any one please help me what configuration needs to be established to see summary page.

.

a!localVariables(
  /* 1. First, configure the integration object to return successfully */
  local!integrationResponse: rule!GI_INT_GetClaim(adjustername: "ABC"),
  todatasubset(
    a!forEach(
      local!integrationResponse.result.body.claimsList,
      cast(
        typeof(
          'type!{urn:com:appian:types:GI}GI_RESP_GetClaimSummaryClaimList'()
        ),
        fv!item
      )
    )
  )
  
)

I am getting this output.

Am able to see the data in the grid but not able to view summary. Help me to resolve the issue.Thanks in advance.

It works for single record source configuration but with this only one record display and able to see summary also.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    First, I need to ask a few questions.

    What do you mean with "a dynamic link in a grid to redirect to summary page"? A dynamic link does not do that.

    Do you see valid data in the Records Designer in the data model preview and also in the Records List designer?

    Are the permissions on the record type set up correctly?

    Then, your code can be simplified a lot. There is no need for a foreach.

    a!forEach(
          local!integrationResponse.result.body.claimsList,
          cast(
            typeof(
              'type!{urn:com:appian:types:GI}GI_RESP_GetClaimSummaryClaimList'()
            ),
            fv!item
          )
        )
    
    
    cast(
      a!listType('type!{urn:com:appian:types:GI}GI_RESP_GetClaimSummaryClaimList'),
      local!integrationResponse.result.body.claimsList
    )

Reply
  • 0
    Certified Lead Developer

    First, I need to ask a few questions.

    What do you mean with "a dynamic link in a grid to redirect to summary page"? A dynamic link does not do that.

    Do you see valid data in the Records Designer in the data model preview and also in the Records List designer?

    Are the permissions on the record type set up correctly?

    Then, your code can be simplified a lot. There is no need for a foreach.

    a!forEach(
          local!integrationResponse.result.body.claimsList,
          cast(
            typeof(
              'type!{urn:com:appian:types:GI}GI_RESP_GetClaimSummaryClaimList'()
            ),
            fv!item
          )
        )
    
    
    cast(
      a!listType('type!{urn:com:appian:types:GI}GI_RESP_GetClaimSummaryClaimList'),
      local!integrationResponse.result.body.claimsList
    )

Children