Business Rules Validation: Must have one of the following values
-
Thursday, December 06, 2012 5:25 AM
Hi All
I am trying to validate an attribute in MDS 2012 using the following Rule
Condition: If Attribute is Blank
Action: Must have one of the following values
i am supplying a domain attribute here and so the question is, is this a static list defined at "design time"
or
can i define a relationship between the member being validated and the members in the action values list?
The Webel
All Replies
-
Wednesday, December 19, 2012 2:12 PMThe validation against a domain attribute is not static its evaluated when the rules actually run.
-
Friday, January 04, 2013 2:20 PM
I do not think that must have one of the following values is dynamic or can reference another entity as if were a foreign key.
If the attribute you want to validate has been defined in the model as proper domain attribute - i.e. if you have selected the Domain-based option when you created. Why don't you create a business rule that checks is the attribute is blank, with an is required action or is not valid action.
Something like:
If [attribute] is blank
The [attribute] is required
or
If [attribute] is blank
The [attribute] is not valid
Kind regards,
M

