I have a requirement where I need to get the count in page list when a condition is satisfied and the counted pages are unique by one property.
I know we have a function called countInPageListWhen already, But this will give me only the count in page list when a condition is satisfied. I need to also validate the record is unique by a property.
So I need Java code to create a function for this requirement. My function syntax should look like below.
I can’t go in that direction because as you said I want to hold the original pagelist always and also I have to use the function in declare expression, Otherwise I would have done this already