Dynamic Email | Adobe Higher Education
Skip to main content
Level 4
December 16, 2021
Risolto

Dynamic Email

  • December 16, 2021
  • 1 risposta
  • 2268 visualizzazioni

Hello Everyone,

 

We have a dynamic email which is going to serve content based on the job title of the recipients. So a recipient with job title sales would receive content A, a recipient with job title marketing would receive content B and so on.

 

As I am more comfortable with Velocity scripting I would prefer to use it here. The ask is to perform match for recipients whose job title would CONTAIN 'Market' OR whose Department would CONTAIN 'Market' for instance.

 

Can anyone please guide me the syntax to write the above condition please.

 

Thanks

Questo argomento è stato chiuso alle risposte.
Migliore risposta di Michael_Florin-2

That would look something like this:

 

$lead.FieldNameA.contains("VALUE") || $lead.FieldNameB.contains("VALUE")

 

1 risposta

Michael_Florin-2
Level 10
December 16, 2021

That would look something like this:

 

$lead.FieldNameA.contains("VALUE") || $lead.FieldNameB.contains("VALUE")

 

Yash-3Autore
Level 4
December 16, 2021

Thanks so much, @michael_florin-2