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?
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
Huey
3 days agoCarol
15 days agoGlenna
18 days agoNoah
3 days agoYolando
20 days agoPaulene
25 days agoToshia
28 days agoDominic
11 days agoTawanna
15 days agoSanjuana
17 days agoCatarina
1 months ago