Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

Is there a way I can capture the XDM event request ID as a data element to use in other custom code actions?

Avatar

Level 2

I am looking to have a unique request ID be set as a variable returned in some of my Rules. I would like to be able to create a data element in Adobe Data Collection that lets me capture this requestID every time an event comes in and use that value. 

 

Is this something that is possible?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I am not yet on XDM collection, so I don't know if this is available, but I found a reference to payload.attributes.requestId, is that available in your mapping to send this to a Data Element?

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

I am not yet on XDM collection, so I don't know if this is available, but I found a reference to payload.attributes.requestId, is that available in your mapping to send this to a Data Element?

Avatar

Level 2

Going to try this and see if I am able to access that. Looking at the Edge transactions for a given hit now. Thanks for the suggestion

Avatar

Community Advisor

If you can't use payload.attributes.requestId directly in your implementation, then you might need to resort to Processing Rules, where that field should be available as a context variable.