Question

Remove duplicates from valuelist

Hi,

Is there any way that i can remove the duplicates of valuelist. in data transform?

Comments

Keep up to date on this post and subscribe to comments

October 9, 2019 - 2:55am

Hello, 

There is a function for PageList Out-Of-The-Box but I don't think there is one for Value List. I guess you will have to loop, check, set a parameter and remove.

Pega
October 10, 2019 - 2:58am

hi,

We need to first loop, now to do this via a Data Transform we can use a Temporary pageList and set length of a value list

For each loop of the Pagelist get the current index of the Valuelist and then maybe can try to Remove the Valuelist's Current index?

October 19, 2019 - 12:01am

Thanks everyone for your suggestions.

I have achieved this by using function isinProprtyList before adding to valuelist.