Study the following process flow on the Main Page of a process where the intention is to preserve the current exception.
What is wrong with the design?
A.
The exception handling is not within an Exception Block.
B.
The exception caught by Recover2 will not be preserved by the Re-Throw Exception stage
C.
The Send Alerts process will never be run
D.
Because the flow is on the Main Page of the process there should be a "˜Re-Throw' Exception stage as there are no parent/calling pages for the exception to "˜bubble up' to. B
The correct response is:
B. The exception caught by Recover2 will not be preserved by the Re-Throw Exception stage
Explanation:
The provided flow includes two Recover stages (Recover1 and Recover2) and a Re-Throw Exception stage. The issue is that the exception caught by Recover2 will not be preserved by the Re-Throw Exception stage. In Blue Prism, a Re-Throw Exception stage can only re-throw exceptions caught by the nearest preceding Recover stage. In this case, the Re-Throw Exception stage is located after Recover1, so it can only re-throw exceptions caught by Recover1.
The Re-Throw Exception stage does not have the capability to preserve and re-throw exceptions from multiple Recover stages. If there is a need to preserve exceptions caught by multiple Recover stages, an alternative approach might be needed, such as handling the exceptions at a higher level or passing exception-related information through outputs or data items.
B is the correct answer, because to preserve the exception from recover stage the exception stage should be immediately after recover stage, here there is resume action and resume stages are there in between. "Resume stage will be used to eliminate the exception"
REF:
https://blue-prism.docebosaas.com/learn/course/19700/play/43334:834/blue-prism-advanced-exception-handling;lp=230
B is the correct answer, because to preserve the exception from recover stage the exception stage should be immediately after recover stage, here there is resume action and resume stages are there in between
A is correct. It will create an infinite loop with Recover2 catching the exception over an over again.
B is incorrect as the exception stage can be configured to preserve the exception type and detail of the original exception even after a resume stage.
A and B. [A] because if the recover is not in block the code stage error will again be caught and end in infinite loop. [B] because there is a resume stage. It should be removed to preserve exception.
I tested this simulation and found that it falls into an infinite loop because the "Re-throw" exception is caught by the "Recover2", which leads to "Re-throw" again and again. I think the correct answer is A.
(furthermore, with the exception block added, then RPA is correct that the exception is preserved)
The exception will be preserved, I've seen that the current exception is still available even after the Resume stage.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
VishalS
Highly Voted 3 years, 4 months agoonyeisi
Most Recent 3 months, 3 weeks agoShah90
5 months agoShah90
5 months agoShah90
5 months agoshubhamvadnere
7 months agoLH1213
7 months, 1 week agoRadekRPA
9 months, 3 weeks agotdesbarres
1 year, 5 months agoKaleopan
1 year, 7 months agosogoku_ichi_2907
2 years, 6 months agoAd01blueprism170
2 years, 7 months agoAd01blueprism170
2 years, 7 months agokrrish0
2 years, 8 months agoZerohash
2 years, 8 months agocoolala
2 years, 11 months agoRPA
3 years, 4 months ago