AD01 Exam QuestionsBrowse all questions from this exam

AD01 Exam - Question 1


Examine the following process flow:

The Process is intended to attempt to perform the processing in the recover block, Block 3, a maximum of three times before throwing an exception.

Data Item "Attempts" is a number data item with an initial value of 0

Data Item "Max Attempts" is a number data item with an initial value of 3

The "˜Increment Attempts' calculation stage adds 1 to the attempts value and outputs a result to the "Attempts" data item

To enable this to work correctly, what is the correct expressions for the "˜Try Again' decision stage?

Show Answer
Correct Answer: A

The correct expression for the 'Try Again' decision stage is [Attempts] < [Max]. This ensures that the process will attempt the recovery block up to three times. At each attempt, the 'Increment Attempts' stage increases the count, and the decision stage checks if the current attempt count is still less than the maximum allowed attempts. If it is, the process tries again. Once the count reaches the maximum (3), the condition [Attempts] < [Max] will be false, and the process will not attempt again, thus throwing an exception.

Discussion

8 comments
Sign in to comment
sstusardOption: A
Jan 31, 2021

[Attempts] <= [Max] will give 4 attempts because the very first attempt is before an exception is thrown. So [Attempts] < [Max] will give 3 attempts including the very first attempt before exception.

UjjwalKumarOption: A
Nov 16, 2020

[Attempts] <= [Max]

nalinnishant
Jan 18, 2022

The correct answer has to be [Attempts] <= [Max] because +1 is added to the increment attempts stage before the decision stage.

770_is_everywhere
May 15, 2022

wrong. the reason you mention is excatly why you cant compare it to 3... it means that after the third attempt you want to say if equal to 3 so try again. its mistake...

RadekRPAOption: A
Mar 2, 2023

It runs then increase counter, so required count of loops needs to be 3 it is A

SUmITPaLOption: A
Jun 5, 2023

A - [Attempts] < [Max]

VialexisOption: C
Jul 7, 2023

I thing that the true answer is C

Sagar00786Option: B
Apr 15, 2023

Answer should be B as the correct ans should be [Attempts]<=[Max], the resulting condition will be same for [Attempts]>[Max]

VK9999Option: A
Jun 6, 2024

[Attempts] < [Max]