QuestionQ167

VerifiedUiPath REFramework

A project developed with REFramework retrieves employees’ phone numbers from a database and creates a queue item for each number. After processing, these items must be entered into a financing application. A queue item containing a phone number becomes invalid if a digit is unintentionally omitted due to human error. As a requirement, queue items that contain partial numbers must not be accepted.

Which type of error should be thrown according to best practices?

Explanation

An incomplete phone number fails a defined business validation rule: only complete numbers are acceptable. Such expected, data-specific rule violations should be handled as business exceptions in REFramework.

Community Discussion

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