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?
Answer(s): C
Refer to the exhibits.A JSON payload is set in the Set Payload transformer.What is logged by the Logger?
Refer to the exhibits.A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich the payload by prepending a vendor name to the sale data. What is written to the sales.csv file when the flow executes?
Answer(s): A
https://developer.mulesoft.com/tutorials-and-howtos/quick-start/how-to-create-your- first-munit-test-in-anypoint-studio
A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio. The Mule application must now be exported from Anypoint Studio and shared with another developer.What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?
Answer(s): D
What DataWeave expression transforms the example XML input to the CSV output?A)B)C)D)
Correct answer is as below. Attributes in the incoming xml payload are always accessed using @.Similarly *item is required as we have multiple items in the request %dw 2.0output application/csv---payload.sale.*item map ((value, index) -> {index: index,sale: value.@saleId,itemName: value.desc,itemPrice: (value.quantity) * (value.price),item: value.@itemId} )
Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-I exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Salesforce-MuleSoft-Developer-I content, but please register or login to continue.