Hi,
I have two lists,
the two lists have the same values in the attributes exept the IsSelected field,we can have the same element in both UnselectedApplications and selectedApplications list but with a different value in the isSelected attribute(may have False or True).
Now my problem is, I would like to have a list which merge the two lists but if we have an element in both the two lists with Flase in the IsSelected attribute in the first list for example and true in the second list I must keep the element with True in the IsSelected attribute, I need to avoid having duplicated attributes.
could you help please
Hello You,
It looks like you are overthinking your problem a bit.
Have you tried to work with only 1 list? If the attributes are the same then you can use just one list and, if needed, split them in two based on the IsSelected value.
Does your use case require 2 different lists?
Paulo Rosário
thanks for coming back.
as you see I get data from two aggregations so I need to put the result of each agregation in a list then I need to do the login to have one list with the condition explain above.
I have tries many ways but it defeats me.
Do you have any suggestion please ?
From what I can deduce from your screenshots:
Try to use the ListAppendAll function from Outsystems. This will allow you to append all the elements of a list to another list.
If you could share your oml it would be great.
Thank you.
Below is the approach you can follow:
Here is the expected output: