QuestionQ23

VerifiedManage event flow, handle errors, and process batch records

Refer to the exhibits.

The Batch Job scope includes two Batch Step scopes with different acceptance expressions. The input payload is passed into the Batch Job scope.

After the Batch Job scope has processed the complete payload, which messages have the Logger components logged?

Input payload:

Question Image

Flow:

Question Image

Explanation

A Mule batch job splits the input array into records. The first step accepts records whose amount is less than 500, transforms 400 to 500 and 1 to 101, and logs both. Batch records continue to later steps; the second step accepts the unchanged 1000 record and the updated 500 record because both are greater than 200, then logs step2amount values of 1000 and 500. Mule batch-step acceptance expressions determine whether each record is processed, and records skipped by a step remain available to downstream steps.

Learn more

Community Discussion

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