What is the correct DataWeave expression to log account Type?


A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named account Type.

What is the correct DataWeave expression to log account Type?
A . Account Type: #[flowVars.accountType]
B . Account Type: #[message.inboundProperties.accountType]
C . Account Type: # [attributes.accountType]
D . Account Type: #[vars.accountType]

Answer: D

Leave a Reply

Your email address will not be published.