How to get last modified dates on attribute level?
B
Bharat Joshi
started a topic
over 1 year ago
I have fuzzy matched entity where I would like to track on golden record the last modified date for specific attributes.
For example if I have Contact entity that has attribute Email I would like to have attribute called EmailLastModifiedDate that would be automatically set for golden record every time the value of the email changes on the golden record level.
What would be best way to achieve this?
Best Answer
B
Bharat Joshi
said
over 1 year ago
To achieve such attribute level last modified dates , we can take use of named query
For your case, you can add this single attribut expression in the named query (no extra technical attribute needed) :
lookup first UpdateDate
from GoldenHistoryRecords
where FromBatchID=
lookup
max ToBatchID
from CurrentGoldenRecord.GoldenHistoryRecords
where CurrentGoldenRecord.FirstName<>FirstName
end
end
In this case, you will check in all cases (Override or not) the correct UpdateDate.
also, enclosing the screenshot for same
1 Comment
B
Bharat Joshi
said
over 1 year ago
Answer
To achieve such attribute level last modified dates , we can take use of named query
For your case, you can add this single attribut expression in the named query (no extra technical attribute needed) :
lookup first UpdateDate
from GoldenHistoryRecords
where FromBatchID=
lookup
max ToBatchID
from CurrentGoldenRecord.GoldenHistoryRecords
where CurrentGoldenRecord.FirstName<>FirstName
end
end
In this case, you will check in all cases (Override or not) the correct UpdateDate.
Bharat Joshi
To achieve such attribute level last modified dates , we can take use of named query
also, enclosing the screenshot for same
Bharat Joshi
To achieve such attribute level last modified dates , we can take use of named query
also, enclosing the screenshot for same
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 276 topics