Validations
Liferay 7.4+
Object validations set rules for determining valid field inputs. You can define validations with Groovy scripts, Liferay expressions, or a specified Composite Key validation. When triggered, the validation checks for valid field inputs according to defined conditions and displays an error message for invalid inputs.
If out-of-the-box validations don’t meet your needs, you can create custom validations using the objectValidationRule
client extension. See Microservice Client Extensions for more information.