AEP schema on class XDM Individual Profile - how to store ingestion batch | Community
Skip to main content
Level 3
December 10, 2024
Question

AEP schema on class XDM Individual Profile - how to store ingestion batch

  • December 10, 2024
  • 4 replies
  • 1109 views

Hi, I have a schema created based on XDM Individual Profile class. I would like to know if it is possible to store the ingestion batch ID in "createdByBatchID" field that comes out of the box with the class. I am thinking of some run-time function that I can map to that field that will actually insert the current batch's ID into that field, for example similar to how I could map a calculated field now() to _repo.createDate?

 

On a more general plan, are there metadata functions, like current user loading the data or current batch, stuff like that, that can be mapped to the dataset so we can have audit information attached to the actual data?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

kautuk_sahni
Community Manager
Community Manager
December 12, 2024

@arpan-garg @anil_umachigi @nnakirikanti @bryanrek @satheeskannak @john_man @franc_g @itsme_ssj @krishna_musku @vanibhemarasetty Kindly take a moment to review this question and share your valuable insights. Your expertise would be greatly appreciated!

Kautuk Sahni
brekrut
Adobe Employee
Adobe Employee
December 12, 2024

@gabrielana1 

 

What is your use case to store the batchid upon profile?  

Level 3
December 12, 2024

Audit trail, in case I ever want to investigate anything .. I don't have a very clear plan but something along these lines...

brekrut
Adobe Employee
Adobe Employee
December 16, 2024

The record based profile will write data upon the dataset and the last write of the data will be available on profile.  I would consider an audit timestamp with the xdm profile schema to track when changes are applied on the dataset instead of the batch_id

nnakirikanti
Community Advisor
Community Advisor
December 12, 2024

Hello @gabrielana1,

 

Please check this thread which was answered by @brekrut already, this might help to ease your requirement.

 

~cheers,

Naresh Nakirikanti.

kautuk_sahni
Community Manager
Community Manager
December 16, 2024

@gabrielana1 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni