MuleSoft Certified Developer – Level 1 — Question 73

A Set Variable component saves the current payload to a variable.
What is the DataWeave parent expression to access the variable?

Answer options

Correct answer: B

Explanation

The correct answer is B, as #[vars] is the syntax used in DataWeave to access variables. Option A, #[value], is incorrect because it does not refer to variables but rather to the current payload. Options C and D, #[var] and #[values], are also incorrect as they do not represent valid expressions for accessing variables.