I am trying to pass the data to the email with a triggered send from Journey Builder.

The template is connected to the same data extension as Journey.

So I have this:

 var @data set @data = AttributeValue("Data")
if not empty (@data) then 
  outputLine(concat("Data: ",@data))
  outputLine(concat("Data is empty"))

The output is always empty, even though "Data" exists in the Data Extension and has some values. Any clues why it might happen?

Thanks in advance.

  • You need to remove the space between empty and (@data) Nov 19, 2021 at 8:46
  • Oh, my mistake, true. But still empty output. Nov 19, 2021 at 8:50
  • If it was a new field added to your DE, try deleting the entry source in your journey and adding it again. Also make sure the field name matches. Nov 19, 2021 at 9:38


You must log in to answer this question.

Browse other questions tagged .