I want to connect Alert pop up (no) condition with Dashboard Preorder Meal balance. Please help me with this

0 votes
asked Mar 25, 2021 in Question / help by SK

title Preorder Enhancement

|#Antiquewhite|**PSC/PSM**|

start

if (use QL balancethen (yes)

:Dashboard Preorder Meal Balance;

:Menu->Preorder;

else (no)

:Follow As-Is Process;

kill

endif

if (Alert Pop upthen (yes)

|#lightgrey|**MMO**|

:MMO Meals Page;

:Add Items to cart;

:Place Order;

|#Antiquewhite|**PSC/PSM**|

:Cart;

:Apply Meal Balance;

:Checkout;

kill

endif

1 Answer

0 votes
answered Mar 25, 2021 by The-Lu (64,340 points)

Hello S.,

You can add repeat and repeat while, as:

@startuml
title Preorder Enhancement
|#Antiquewhite|**PSC/PSM**|
start
if (use QL balance) then (yes)
repeat :Dashboard Preorder Meal Balance;
:Menu->Preorder;
repeat while (Alert Pop up) is (no)
->yes;
|#lightgrey|**MMO**|
:MMO Meals Page;
:Add Items to cart;
:Place Order;
|#Antiquewhite|**PSC/PSM**|
:Cart;
:Apply Meal Balance;
:Checkout;
kill
else (no)
:Follow As-Is Process;
kill
endif
@enduml

Then you can observed the expected result:

See also doc. here:

Enjoy,
If that can help,

Regards,
Th.

commented Sep 28, 2021 by anonymous
It helped, thank you :)
...