Start a new topic

Boolean default value

How to change the default 'null' value of a boolean ?

In the current version of xDM, the default value of a boolean attribute is NULL, which can be confusing at first and create some issues when working on your model.

If you need False as a default value, the best way to do so is to create an enricher for that attribute, with the following syntax :

when Entity.Attribute = 1 then 1
else 0

 This is a know bug bug id is : - MDM- 13158 and to achieve this there is a Workaround  :- We need to Trigger the enricher as a Step Trigger with the action of Step Trigger Pre- Validation ( as shown in image ) this will work.

Login to post a comment