ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 178 - AD01 discussion

Report
Export

Please refer to the exhibits.

This is a detail of a Process sub-page

* Sign Up Dale Current Date and Expiry Date Dala Hems are of the Date data type

* Status and Output Data Items are of the Text' data type.

What is the output of this logic when the page is executed till its End stage'

A.
Subscription Status = Expired. Expiration Date = 04-07-2023
Answers
A.
Subscription Status = Expired. Expiration Date = 04-07-2023
B.
Internal Error at the Decision stage as > function cannot be used for dates
Answers
B.
Internal Error at the Decision stage as > function cannot be used for dates
C.
Internal Error at the Calc3 stage as a date cannot be stored in a Text Data Item
Answers
C.
Internal Error at the Calc3 stage as a date cannot be stored in a Text Data Item
D.
Subscription Status = Active; Expiration Date = 04-07-2023
Answers
D.
Subscription Status = Active; Expiration Date = 04-07-2023
Suggested answer: A

Explanation:

Data Items and Types:

Sign Up Date: 04-05-2023 (Date data type)

Current Date: 13-06-2023 (Date data type)

Expiry Date: 04-07-2023 (Date data type)

Status: Text data type

Output: Text data type

Decision Stage:

The decision checks if Current Date > Expiry Date.

13-06-2023 is not greater than 04-07-2023, so the decision evaluates to No.

Calc1 and Calc3 Execution:

Since the decision is No, Calc1 and Calc3 are executed.

Calc1 is not shown, but it must set Status to something other than 'Expired' (possibly 'Active').

Calc3 concatenates Status and Expiry Date to form the final output.

Expected Output:

If Calc1 sets Status to 'Active', Calc3 will produce the output:

Subscription Status = Active; Expiration Date = 04-07-2023

Final Output:

Given the logic and data provided, if Calc1 does not change Status from 'Expired' (it wasn't executed due to decision No path):

Subscription Status = Expired. Expiration Date = 04-07-2023

If the decision path was intended to show Expired status, then:

Subscription Status = Expired; Expiration Date = 04-07-2023.

Blue Prism documentation on decision stages and data type handling in expressions.

asked 16/09/2024
Bartosz Szewczyk
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first