824
Views
3
Comments
Solved
comparing list in outsystem reactive web

Hi Team,

I want to compare two lists of similar structure in outsystem,

I have checked itearting both the list in forum,

Any other best approach to find contents which are difference of list contents count.

Regards,


2024-01-31 05-29-41
Akshay Deshpande
Solution

Hello ujwala,

 
Adding to the Yogesh answer,

 
if you are comparing two list and want the different record in other list than used 3 Lists for that.

used foreach(sourcelist-List1) in the cycle of list1 add list filter client action in that (list-LIST2,condition-list2.ID=List1.current.Id) after that add if condition list empty ?

true than pass that current record in list3 using list append and than to ForEach
false than pass that to for each

Thanks and Regards,
Akshay Deshpande

2020-05-07 18-53-00
Rui Barradas
 
MVP

Hello there ujwala,

Happy new year!


Did you check this thread?

Kilian and Daniël provided great answers and possible solutions to your question.


Kind regards,

Rui Barradas

2023-12-14 09-56-57
Yogesh Javir

Hey,

Outsystem provides more options with list like any,filter,index of,remove etc.

I will suggest to loop on first list and check in second list using listfilter so you will compare same scenario. 

Thanks

2024-01-31 05-29-41
Akshay Deshpande
Solution

Hello ujwala,

 
Adding to the Yogesh answer,

 
if you are comparing two list and want the different record in other list than used 3 Lists for that.

used foreach(sourcelist-List1) in the cycle of list1 add list filter client action in that (list-LIST2,condition-list2.ID=List1.current.Id) after that add if condition list empty ?

true than pass that current record in list3 using list append and than to ForEach
false than pass that to for each

Thanks and Regards,
Akshay Deshpande

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.