QuestionQ27

VerifiedManage event flow, handle errors, and process batch records

Refer to the exhibits.

The Mule application does not define any global error handlers. A web client sends a POST request to the Mule application with the following input payload. The File Write operation throws a FILE:CONNECTIVITY error.

Which response message is returned to the web client?

Input payload:

\{ “oid”: “1000”, “itemid”: “AC200”, “qty”: “4” \}  

Question Image

Question Image

Explanation

The File Write operation maps FILE:CONNECTIVITY to ORDER:NOT_CREATED. Error handlers route an error to the first handler that matches its effective error type, so the ORDER:NOT_CREATED On Error Continue handler executes and its Set Payload value, ORDER:NOT_CREATED, is returned as the response.

Learn more

Community Discussion

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