Introduction
In a Mendix project, a validation rule must be created that applies to two or more attributes within the same entity. This ensures that the combined values of these attributes meet specific business requirements or constraints.
This option is unavailable under the Validation Rules because Mendix does not support this.
Environment
Studio Pro (all versions)
Instructions/Procedure
A workaround to achieve this requirement is to, before the commit, concatenate all key attributes into one and apply the validation in this single attribute.
Outcome
The workaround provided will help validate more than one key in the project.
Internal information related
- 239010
- C012YN4MJ3H/p1737377444079539
Additional information
- Mendix Community: Composite Key in Mendix Domain Model
0 Comments