ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 9 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits.

The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.

What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?

A.
addltemf { payload: { price: '100', item: 'router', itemType: 'cable' } > )
Answers
A.
addltemf { payload: { price: '100', item: 'router', itemType: 'cable' } > )
B.
lookupf 'addltem', { payload: { price: '100', item: 'router', itemType: 'cable' } } )
Answers
B.
lookupf 'addltem', { payload: { price: '100', item: 'router', itemType: 'cable' } } )
C.
addltemf { price: '100', item: 'router', itemType: 'cable' })
Answers
C.
addltemf { price: '100', item: 'router', itemType: 'cable' })
D.
lookupf 'addltem', { price: '100', item: 'router', itemType: 'cable' } )
Answers
D.
lookupf 'addltem', { price: '100', item: 'router', itemType: 'cable' } )
Suggested answer: B
asked 18/09/2024
George Weine Paulino Chaves
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first