Validation feedback message is disappearing on the page

0
Created microflow on save button and showing validation feedback messages according to the condition. The validation message is coming and disappearing from the page. Please suggest how we can fix it.
asked
1 answers
0

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.

 

answered