Discussion
Lanit
RU
Last activity: 27 Jul 2017 8:39 EDT
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?