ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 16 - Certified MuleSoft Developer II discussion

Report
Export

An API has been built to enable scheduling email provider. The front-end system does very little data entry validation, and problems have started to appear in the email that go to patients. A validate-customer'' flow is added validate the data.

What is he expected behavior of the 'validate-customer'' flow?

A.
If only the email address Is invalid a VALIDATION.INVALID_EMAIL error is raised
Answers
A.
If only the email address Is invalid a VALIDATION.INVALID_EMAIL error is raised
B.
If the email address is invalid, processing continues to see if the appointment data and customer name are also invalid
Answers
B.
If the email address is invalid, processing continues to see if the appointment data and customer name are also invalid
C.
If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised
Answers
C.
If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised
D.
If all of the values are invalid the last validation error is raised:SCHEDULE:INVALID_CUSTOMER_NAME
Answers
D.
If all of the values are invalid the last validation error is raised:SCHEDULE:INVALID_CUSTOMER_NAME
Suggested answer: A

Explanation:

The validate-customer flow uses an until-successful scope to validate each field of the customer data. The until-successful scope executes its processors until they succeed or exhausts the maximum number of retries. If any processor fails, it raises an error and stops executing the remaining processors. Therefore, if only the email address is invalid, a VALIDATION.INVALID_EMAIL error is raised and the validation of appointment date and customer name is skipped.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/until-successful-scope

asked 23/09/2024
henri victor BOGMIS
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first