Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.
Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How to get A/B test activity name from getAttributes method in server side Java SDK

Avatar

Level 4

Is there a way to get the activity name of a server side A/B test using the getAttributes method in the Java server side SDK?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @rrrrrraul - while I am not specifically familiar with the getAttributes method in the SDK, I am aware there is a way to retrieve the activity name of a server side A/B test when Target is delivering the Activity through the response by including this dynamic token in the Target experience: ${campaign.name}.   You can also enable this to be returned as through Response Tokens.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi @rrrrrraul - while I am not specifically familiar with the getAttributes method in the SDK, I am aware there is a way to retrieve the activity name of a server side A/B test when Target is delivering the Activity through the response by including this dynamic token in the Target experience: ${campaign.name}.   You can also enable this to be returned as through Response Tokens.