Exam AD01 All QuestionsBrowse all questions from this exam
Question 85

Examine the following sub-page of a Blue Prism Process:

The ‘Decision A’ stage properties window is displayed below:

The ‘Decision B’ stage properties window is displayed below:

The Calculation stages will output A, B or C to the Result data item.

What will the value of the Result data item be after this page has been run?

    Correct Answer: A

    The provided decision logic works as follows: Decision A uses the expression InStr([Test Value], 'today is ##/##/2020') > 0 to check if the string 'today is ##/##/2020' exists within the 'Test Value'. The provided 'Test Value' is 'The date today is 18/06/2020!'. The pattern 'today is ##/##/2020' will not match 'today is 18/06/2020' as ## are treated as literal characters. Hence, Decision A will evaluate to 'No'. Next, Decision B uses the EndsWith expression EndsWith('!', [Test Value]) to check if 'Test Value' ends with '!'. Since 'The date today is 18/06/2020!' does end with '!', Decision B will evaluate to 'Yes'. Since Decision A is 'No' and Decision B is 'Yes', the process flow will proceed to the stage 'Result = C', thus the Result should be 'C'. Therefore, the correct answer is 'C'.

Discussion
LostRoamerOption: A

No Exception will be thrown because the second decision stage will result in a "False". The "Result" Data Item will contain "C".

LH1213Option: C

C is the answer, the ## are treated as symbols not a wild key, so after Des A is a no, then the formula is wrong in des B

BlueprismUser199212345Option: C

C is correct.