Avatar

Level 3

Hi,

Apologies for the basic question but I've tried a thousand different variants and not come up with the answer myself. Also non of the documentation seems to address this. Getting this to work will close off this particular task I need to complete.

I want to create an instance variable and populate it with a field from my target data. I can successfully create and populate it with hardcoded text as below, however I need to to pull in a data field instead

instance.vars.AKTEST = "Campaign Name"

I want to replace "Campaign Name" with the field @campaignLabel which I have appended in a previous enrichment (please see screenshot).

I had hoped that instance.vars.AKTEST =  instance.operation.label would work but this simply returns a null value (if it did work then I would simply use the instance.operation.label variable when I required it later on).