ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 206 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits.

Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.

What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

A.
firstName
Answers
A.
firstName
B.
customer.firstName
Answers
B.
customer.firstName
C.
vars.'customer.firstName'
Answers
C.
vars.'customer.firstName'
D.
vars.'customer'.'firstName'
Answers
D.
vars.'customer'.'firstName'
Suggested answer: D

Explanation:

Correct answer is vars.'customer'.'firstName'

Please note that you can also access firstName using this syntax vars.customer.firstName.

Mule Ref Doc :Variables in Mule Apps | MuleSoft Documentation

asked 18/09/2024
L Zsolt
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first