Discussion
Lanit
RU
Last activity: 3 Mar 2016 1:34 EST
Validation for Page List: unable to stop it
I have a page list and in Flow Action, on Validate tab, I check this list.
Validation rule checks if any of list items have property .Approved != false. If it's false - show error message. Pega shows messages for each failed validation (if in my list 4 failed items, it shows me 4 same messages). Also, I can't set flag "Continue validation" to false, because it's disabled.
Validation schema(simplified): Flow Action -> Validate -> IsAllItemsApproved (for each Item in ItemsList call IsItemApproved) -> IsItemApproved (.Approved != false).
So, question is: how to show single error message if any of validation fails?