AD01 practice questions, page 8 of 8, with answer review and explanations.
Question 36
Consider the following diagram from an object studio action: What is the problem with this flow?
There is a risk of the flow causing an infinite loop.
There should be a wait stage at the end of the flow, before the end stage to ensure the flow logic has worked correctly.
There is nothing wrong with the object flow shown in this image.
The Exception Block should be removed from the page so that all exceptions on that page can be recovered.
Question 37
Examine the Process below: An error has been encountered on Page1 and the exception has bubbled up to be recovered in the Recover1 stage. If there is an error in the Calc1 stage which path will the Process take?
The Process will continue to the Resume1 Stage
The Error will cause the Process to terminate
The Error will be recovered in the Recover2 Stage
The Error will cause the Process to jump to the End Stage
Question 38
Examine the flow below: An error has been encountered on Page1 and the exception has bubbled up to be recovered in the Recover1 stage. The "˜Yes' path has been taken from the "Throw new Exception?" decision stage. Consider the Throw Exception stage properties below: How should the properties be configured for the Process to throw a new Business exception, i.e. a different exception to the one encountered in Page1?
Configure Exception Type() in the Exception Type field and ExceptionDetail() in the Exception Detail field. Leave the Preserve the type and detail of the current exception checkbox un-ticked.
Tick the Preserve the type and detail of the current exception checkbox. Leave the Exception Type and Exception Detail fields blank.
Leave the Exception Type field blank and type "Business Exception" in the Exception Detail field.
Type Business Exception in the Exception Type field and type a custom message in the Exception Detail field.