ListAppendAll Mapping considering Record List Attributes

Service Studio
Out of the scope


I don't really know if this idea has been posted before, I searched for it but didn't find anything similar.

When you have two different structures in a list and you try to run ListAppendAll of the first one to the second, Outsystems makes a mapping selection that cannot include a mapping of list record attributes. So in case the structure has one or more list records as an attribute it makes necessary to include a foreach process after it to make a new listappendall to each record that has been appended on the previous operation. The situation is even worse if you have more list records as attributes of these structures.

It would be a lot easier if the service studio gave the possibility to map list records attributes as well, by recognizing if the two lists has the same kind of structures attributes or by doing a second level mapping.

 Thank you.

Created on 25 Nov 2018
Comments (6)

Hey Allan,

How is the current experience different from mapping the attributes one by one? It not only allows you to do that but also lets you write more complex expressions.


Changed the category to Service Studio

Changed the status to
Out of the scope

Marking the idea as out of scope until we have more information.


Hey Vasco. Here's the situation:

My module has a private Structure that has another one as an attribute.

I gotta create an action that returns a record list from this private structure. To do it I'd need to clone this structure to a public one and probably append all the items from the Private Structure List to the Identical Public Structure List. So here's what I get:

The private Structure "StructureTest" has the attribute "Attr2" that is a record from "StructureTest_Attr2".

The clone made has the name of "StructureTestV2" and I had to clone the "Attr2" structure to a public one as well.

With this Attr2 included, it is not possible to append the original structure list to its clone as you can see in the second picture:

So the Idea is basically to consider if is possible to map record attributes from the structure mapped (or check if it has the exactly same kind of data).

What you are suggesting is nested mappings? You are already using Mappings but you would like to use it again for the attribute, right?


Exactly. It would be like a second mapping level.