Exam UiARD All QuestionsBrowse all questions from this exam
Question 26

The following reflects a subset of process steps from the Process Definition Document (PDD):

1. Read the unread emails from the Robot mailbox and mark them as read.

2. If the email has an attachment of type PNG, download the attachment.

3. Else, send a reply to the sender with the message "Invalid Attachment, please attach a .PNG file to process".

If you are designing a process based on the PDD steps, what is the correct exception type for Step 3?

    Correct Answer: A

    The correct exception type for Step 3 is UiPath.Core.BusinessRuleException. This type of exception is appropriate for situations where a business rule, such as the requirement for a PNG attachment, is not met. Since the step involves checking the type of email attachment and taking action based on the business rule, it aligns with the use of a business rule exception to manage the process flow.

Discussion
MirjalolOption: A

Answer is A, but I am seriously concerned about provided 'correct' answer which seems like they gave wrong answers purposefully... Or we are idiots :(

santakrish

Agree with you

UjjwalKumar

100% Agree with you, most of the questions have wrong answer

RigaOption: A

designing a process based on the PDD steps - Business rule exception which is handled gracefully

IngvarnOption: A

Business exception

ykwOption: A

Correct answer should be A

bhaskar5a5Option: A

Ans -A

phileraeneOption: A

A : Cause the "no exception " answer is missing

phileraene

However not throwing an exception will impact the robot statistics (how much cases have been managed) So definitely business exception

robert_lovaszOption: A

If I have to chose it is A. That is the only one makes sense. But also if you developing something like this, this reply "attachment is missing" can be also just considered as a normal business process step, not an exception.

robert_lovasz

the reason I say this because an exception will go in your Orchestrator log, and developers/admin, whatever will have to "Browse" it, check it... but we don't really need to do that if an email is already sent out? it is Handled.. so why you bother throwing an exception at all?

ltpkOption: A

Definitely A