How do I compare values in one pagelist to another?
I am configuring a when rule that will return true if values in one pagelist match in another and false if there were no matches, but I need some guidance on this. Right now I am using the IsInPageList function that takes three parameters: lookFor, lookAt, and lookIn.
-For lookFor, I want to use <current-value> to loop through one pagelist and extract the property to be compared, however current-value returns an error. I cannot hard code indexes because the size of the pagelist varies.
-For lookAt, I specified the property to be compared in the pagelist specified in the next param
-For lookIn, I put the pagelist name
So this is how it's done easily. I've used two when rules already attached with the comment.
it compares the two pages by the parameter count(where count is incremented by 1 every time) for comparing side by side and then for the last when rule if the second page list size is greater than the first one, for that I used the logic of whether the last exceeding index value is blank or not. If blank then the result is true else you know the result! ;)