on 2019 May 09 11:48 AM
Hybris has a number of validation tables (e.g. NotNullConstraint) which can be edited from the Backoffice using [System > Validation > Constraints] from the sidebar menu, or using Impex, that can apply info, warning or error validation messages during data entry on many of the screens.
However, it seems that when you go to [Marketing > Promotion Rules], load a rule and go to the "Conditions and Actions" tab, these validation rules cannot be applied because the Rules Engine uses a different mechanism. Instead you can apply either a ValidateInterceptor which checks the values during Save and only handles errors (and cannot give warnings or info messages), or a RuleParameterValidator which only checks during publishing of the promotion.
Any tips or references to documentation would be welcome.
Request clarification before answering.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.