Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEP Community Member of the Year!

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

Avatar

Level 3

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.

6 Replies

Avatar

Administrator

@arpan-garg @Anil_Umachigi @nnakirikanti @BryanRek @SatheeskannaK @Hey_John @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

Avatar

Employee

@GabrielaNa1 

 

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

Avatar

Level 3

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

Avatar

Employee

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

Avatar

Community Advisor

Hello @GabrielaNa1,

 

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

 

~cheers,

Naresh Nakirikanti.

Avatar

Administrator

@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