Question
ING Belgium SA NV
BE
Last activity: 28 Feb 2024 6:23 EST
Validate two pagelists in a common workpage simultaneously
I have this requirement where validation of properties of a pagelist depends on values in another pagelist joined by the same parent page. So, I have the following situation:
- pyWorkPage
- PageListOne()
- Type
- LinkedPages()
- IndexInTwo <integer>
- PageListTwo
- Color
- PageListOne()
In case PageListOne().Type == Car, I need to check for every LinkedPages() whether .PageListTwo(IndexTwo).Color matches "Black". This should happen in a flow validation, so we 're running on the main page (pyWorkPage). I can have validate rules on PageList iterations, but I can't figure out how to reference/validate stuff in another sybling pagelist (in this case PageListTwo), depending on what I encounter in PageListOne.
In case .PageListOne(1).Type = "Car", the Color in .PageListTwo(1).
***Edited by Moderator Rupashree to add Capability tags***