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'
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.
Irma
23 days agoLizbeth
3 days agoPrecious
1 months agoJulene
1 months agoFrankie
1 months agoDeeanna
7 days agoOmega
13 days agoHubert
18 days agoMignon
2 months agoLino
2 months agoTayna
17 days agoMarkus
18 days agoHortencia
29 days agoSunny
30 days agoAja
1 months agoMelissa
1 months agoDerick
1 months agoLanie
2 months agoJulene
2 months ago