I am planning on configuring a data transform or activity that checks for a match on two properties within a pagelist. For example I have a pagelist: "results". For each page in results, First I want to verify if the value of property1 in that page is 'true'. If so, then I want to take a property2 from that page and compare it against other pages for a match. If there is a match, I can use that for validation purposes. Ideally the requirement is property2 should not match against any other property2 in the iteration.
Basically I want to validate duplicates in property2 :
1) Check 1st page
2) If property1 = true, proceed and save property 2 to a list for comparison
3) Check next page
4) If property 1 != true then skip page (not equals)
5) If property 1 = true, compare property2 in this page to list
6) If match, no need to move further
7) If no match, save this property as well to the list and continue iteration
Can I use 'countInPageList' method and verify after validating property1 is true in the page? And would data transform be efficient for this? If any clarification is required, please let me know. Will appreciate a timely response, thanks!
@MithunTibrewala hi can you elaborate on the values that go into this function? It returns a boolean if true or false. I have the page list to search on as well as the property in each page to validate, but the function requires an entry for "PublicAPItools" & "String label"? Please clarify with an example if possible. Thanks
Posted: 8 months ago
Posted: 21 Jan 2022 22:55 EST
Mithun Tibrewala (MithunTibrewala)