MuleSoft
MCD-LEVEL-1 · Question #64
Refer to the exhibits. The Set Payload transformer's value is set to {'year': '2020'}. What message value should be added to the Logger component to output the message 'The year is 2020', without…
The correct answer is D. #["The year is "++ payload.year]. You've hit your limit · resets 5am (America/New_York)
Applying DataWeave Transformations
Question
Refer to the exhibits. The Set Payload transformer's value is set to {'year': '2020'}. What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?
Exhibit
Options
- A'#[The year is $(pay load .year)]*
- BThe year is #[payload.year]'
- C'#[The year is " + paytoad.year]'
- D#["The year is "++ payload.year].
How the community answered
(35 responses)- A11% (4)
- B3% (1)
- C6% (2)
- D80% (28)
Explanation
You've hit your limit · resets 5am (America/New_York)
Topics
#DataWeave expressions#string concatenation#Logger#payload
Community Discussion
No community discussion yet for this question.
