What is the output of logger after the execution of choice router is completed?

CORRECT TEXT

Refer to the exhibits.

In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".

What is the output of logger after the execution of choice router is completed?
A . "Domestic"
B. "International"
C. "US"
D. A dataweave syntax error (Correct)

Answer: D

Explanation:

To compare, DataWeave syntax is #[payload == "FR"]. In this case only one = is used so it will give syntax error.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments