How to get A/B test activity name from getAttributes method in server side Java SDK | Community
Skip to main content
Level 3
May 10, 2022
Solved

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

  • May 10, 2022
  • 1 reply
  • 600 views

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?

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

Hi @rjbu - 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.

1 reply

Moses_MaxenAdobe EmployeeAccepted solution
Adobe Employee
May 10, 2022

Hi @rjbu - 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.