about the datatype transfer not correct

load(
  local!data:{
    rule!KONE_Development_trail_flatten("song","wang")
  },

  local!updateColumn: tointeger(
    updatearray(
      local!data.user,
      a!forEach(
        items:rule!KONE_Development_CSE_TENDER_PHASES_Rule(),
        expression:fv!item.id
      ),
      a!forEach(
        items:rule!KONE_Development_CSE_TENDER_PHASES_Rule(),
        expression:fv!item.id
      ),
    )
  ),

  updatecdt(
    local!data,
    {
      user:{(local!updateColumn)}
    }
  )
  )

Expression evaluation error at function 'updatearray' [line 7]: The indices are not of the expected type. Type of indices: List of Variant. Type expected: List of Number (Integer)

AnyOne can correct?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data