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?
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" } )
B . addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
C . lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
D . addltem( { price: "100", item: "router", itemType: "cable" } )
Answer: C
Latest MCPA-Level 1 exam Dumps Valid Version with 58 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments