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?
Funny enough, I tried it and it seems both A and B seems to work. A is not the most natural thing though -- as you typically click on the FX button and that put the brackets around the whole expression.
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?
A. "The year is #[payload.year]"
B. "#[The year is $(payload.year)]"
C. "#["The year is ++ payload.year"]"
D. "#["The year is " + payload.year]"
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ExamDev
10 months, 1 week agopeeman004
1 year agopeeman004
1 year agosshams2021
2 years, 10 months agocalazans
2 years, 10 months agomubashirhassan2030
2 years, 12 months ago