Without seeing the whole microflow, I can guess that in your microflow: Either commit with refresh or close page exists which may clear the validation messages.
My suggestion for microflow flow:
- Start with a Boolean $isValid = true.
- Run your validatin checks. For each violation:
- Add Validation feedback on the specific attribute (or on the object).
- $isValid = false.
- At the end, if $isValid = false; do not commit, close page, or change object with refresh in client = Yes
- If $isValid = true: you can commit (with events as needed) and event close page.