how to add multiple validations on a single attribute?
1 answers

Hi Satish,

The easiest way to do this is through a validation microflow. In this microflow you create a variable called ‘Valid’. Then you add a decision where you do a check on the attribute, for example: $attribute/number > 4. If this is true you continue the microflow, otherwise you set the valid variable to false, show a validation message and merge the microflow into one again. After which you can do another check. In this way you can do multiple checks on an entity/attribute. In the end you return the ‘valid’ boolean. If it is true, you continue or logic, otherwise you break it off and the user will see the feedback.

Hope this helps!