How to change the default 'null' value of a boolean ?
Best Answer
M
Matthieu DE PILLOT DE COLIGNY
said
over 2 years ago
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 :
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 :
Case
when Entity.Attribute = 1 then 1
else 0
end
T
Toshish Chauhan
said
over 2 years ago
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.
Matthieu DE PILLOT DE COLIGNY
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 :
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstMatthieu DE PILLOT DE COLIGNY
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 :
Toshish Chauhan
-
Recover Deleted(soft Delete) Record and Configure in Application
-
How Can I Trigger Enricher or Sql Procedure when deleting?
-
Unstructured and Semi Structured Data in Semarchy?
-
Read CSV files from AWS S3
-
Find SQL Statements Generated for Match Rules
-
Is it possible to disable specific steps of an Integration Job?
-
Reset the Override on Many Records Through the Interface or By Script
-
PL/SQL Procedure With B_CREDATE and B_UPDDATE Not Mapped or Loaded, Columns Will Be Null
-
Unable to Load Publisher Data Using Continuous Load
-
LoadDataRecord contains non persitable expressions when trying to publish Data using the Rest API
See all 61 topics