Skip to main content
July 17, 2023
Solved

Append Inside Multidimensional Array/Record

  • July 17, 2023
  • 4 replies
  • 0 views

Hi, 

I would like to know how I can append data inside multidimensional/record or record relationship array ?

Please check the example bellow

append(
local!sections,
'type!{urn:com:appian:types:SN}SN_DATA'(id: null)
),

    Best answer by stefanhelzle0001

    You just have to navigate in the data structure to the spot. Something like:

    local!sections[1].Templates

    4 replies

    stefanhelzle0001
    Brainy
    July 17, 2023

    You just have to navigate in the data structure to the spot. Something like:

    local!sections[1].Templates

    July 17, 2023

    if it is record data type, do you suggest to be transformed to local variable ? Where "Template" Is a record relationship.

    stefanhelzle0001
    Brainy
    July 17, 2023

    What do you mean with "transformed to local variable"?

    And the answer depends so much on what you want to achieve ....