A Campaign developer is creating a flag to identify recipients who have specified date of birth.
The Campaign developer codes the expression as follows in an enrichment activity:
lif([target/birthDate] is null, ‘N’, ‘Y’)
When the developer goes to save the expression, the following error displays:
Element ‘birthDate’ unknown (see definition of schema ‘Recipients (nms:recipient)’)
—–
The path ‘/target/birthDate’ is invalid in schema ‘Enrichment 2 (temp:enrich2-src)’.
—–
Unable to parse expression ‘lif([Itarget/birthDate] is null, ‘N’ Y’)‘
What is the problem with this expression?
A . The condition is null is NOT valid in expressions
B . target is not a valid schema
C . target/birthDate is missing the @ before birthDate
D . lif() is an invalid function
Answer: C
Leave a Reply