Duplicate value in Pagelist

Hi Team,

Is there any OOTB function to check if a pagelist has duplicate values in a property i.e just need to find if a property A has same values in other page.

I think we can do that using looping or some Java code but is there any OOTB function in the recent days?

@Narender Lakshetty tries to use the @IsInPageList function returns true if found and false if not found

@Narender Lakshetty

Have you tried using function CheckDuplicatesInPageList.

Reference:

@Narender Lakshetty Use Rule-Utility-Function-pega_rules_utilities.removeDuplicatesFromList( , , );

Call it from a Java step in a activity .

@SPSUJITMCA I have a situation where I can’t use Java step or activity so was looking for something.

@ManjunathaC Thanks for the reply.

CheckDuplicatesInPageList did not work

@Narender Lakshetty Thanks for all your reply I got the solution after I posted here.

@AlexisJonathanH6481 Is in page list requires the value of the property but I need to check if that pagelist have duplicate values or not and I can’t determine the value of the property.

Hi @Narender Lakshetty,

So glad to hear you have the solution! Could you share it and mark your reply as the Accepted Solution in order to help others who may have the same question?

Thanks!