ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 179 - AD01 discussion

Report
Export

Please refer to the exhibits.

A Developer has created the logic that is resulting in an infinite loop of exceptions when the Multi Calc stage is executed

What is the reason'?

A.
The Exception functions are used outside the recovery mode resulting in their own exception
Answers
A.
The Exception functions are used outside the recovery mode resulting in their own exception
B.
A Block is not used for the Recovery stage causing it to catch Exceptions from all stages on the page
Answers
B.
A Block is not used for the Recovery stage causing it to catch Exceptions from all stages on the page
C.
An Exception stage is not used to report Exceptions causing an infinite loop in the recovery logic
Answers
C.
An Exception stage is not used to report Exceptions causing an infinite loop in the recovery logic
D.
The Data Item names are the same as the Exception expression resulting in their own exception
Answers
D.
The Data Item names are the same as the Exception expression resulting in their own exception
Suggested answer: A

Explanation:

Exception Handling Logic:

When using ExceptionType() and ExceptionDetail() functions, they must be used within the context of an active recovery stage. These functions retrieve details about the current exception.

Issue in Logic:

In the provided diagram, the Capture Exception Detail stage is executed as a multiple calculation stage but is not within a recovery block. Using these exception functions outside recovery mode can cause another exception.

Resulting Infinite Loop:

This causes a new exception each time the Capture Exception Detail stage is executed, leading to an infinite loop of exceptions as the process continuously tries to recover from the newly generated exceptions.

Blue Prism documentation on proper use of exception functions and recovery stages.

asked 16/09/2024
Richard lavery
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first