ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 83 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits. The Set Payload transformer in the addltem child flow 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 child flow to add a router call with the price of 100 to the order?

A.
lookup( 'addltern', { price: '100', item: 'router', itemType: 'cable' } )
Answers
A.
lookup( 'addltern', { price: '100', item: 'router', itemType: 'cable' } )
B.
addltem( { payload: { price: '100', item: 'router', itemType: 'cable' > } )
Answers
B.
addltem( { payload: { price: '100', item: 'router', itemType: 'cable' > } )
C.
lookup( 'addltem', { payload: { price: '100', item: 'router', itemType: 'cable' } > )
Answers
C.
lookup( 'addltem', { payload: { price: '100', item: 'router', itemType: 'cable' } > )
D.
addltem( { price: '100', item: 'router', itemType: 'cable' } )
Answers
D.
addltem( { price: '100', item: 'router', itemType: 'cable' } )
Suggested answer: C
asked 18/09/2024
niels valk
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first