Adobe Related Exams
AD0-E330 Exam
A client has implemented a custom integer field in the nmsRecipient schema called Activity Rating. The field is populated during an import process that runs highly. The ActivityRating can contain a value between 0 and 9. When targeting recipients, it is common for the client to specify the ActivityRating should be between a range, for example, between 2 and 5. What is a way to repeat this query?
A developer needs to insert a JavaScript activity that will be used to query the temp table in a workflow. How should the developer verify the name of the temporary schema to be used in JavaScript?
Review the code below and mark the correct option:
javascript
Copy code
var query = NLWS.xtkQueryDef.create({
queryDef: {
schema: 'nms:recipient',
operation: 'select',
lineCount: '5',
select: { node: [
{expr: '@firstName'},
{expr: '@lastName'},
{expr: '@email'}
]}
}
}).ExecuteQuery().getElements();
What would be the correct code to retrieve the email for each record?