QuestionQ38

VerifiedManage event flow, handle errors, and process batch records

Refer to the exhibits.

In the Choice router, the When expression for the domesticShipping route is configured as #[payload = 'FR'].

What is logged after the Choice router finishes?

Question Image

Question Image

Explanation

The payload entering the Choice router is US, so it does not satisfy the condition that tests for FR. A Choice router runs its Default route when no When condition evaluates to true. The Default route invokes internationalShipping; a Flow Reference executes the referenced flow and returns its resulting event to the calling flow, which is what the subsequent Logger receives.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!