is it possible to access the variables in to the content of the email delivery

Avatar

Avatar
Validate 1
Level 1
Anand_T
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Anand_T
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Anand_T
Level 1

14-05-2015

I am posting an event to a workflow which contains external signal activity.That event contains a variable.

xtk.workflow.PostEvent (

"WKF454",

"signal",

"",

<variables email={temp}/>,

false

)

Now I want to access this "temp" variable into the email content (delivery).

Is there any way to do this.

Any help will be appreciable.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Employee
Linda_Stinson
Employee

Likes

51 likes

Total Posts

250 posts

Correct reply

77 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 20
Ignite 10
View profile

Avatar
Validate 1
Employee
Linda_Stinson
Employee

Likes

51 likes

Total Posts

250 posts

Correct reply

77 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 20
Ignite 10
View profile
Linda_Stinson
Employee

21-05-2015

Hi Anand,

  Yes it is, but you have to move them into the target data first, in the Query or in an Enrichment by adding a column.

So if you have defined an event variable :

vars.greeting = "Hello!"

You can add a column to the temp worktable in an Enrichment (or Query) like this:

AddingContextVarToTargetData.png

You can use the Insert menu (Target extension > Other) in the Delivery editor to generate the correct syntax:

<%= targetData.greeting %>

Note that you are adding this value to every Recipient in the target. You could use logic in the Expression or branches in the workflow to give some Recipients a different value than others.

Answers (0)