How to give only three attempts for a guess number in uipath?

i am guessing a random number but after executing the pprogram it is not ending so i have to give no of attempts how can i do that

Day3_5th Assignments.zip (136.9 KB)

REFER THIS

1 Like

@Nital_Patil

Retry scope

1 Like

Use a loop for number of attempts

1 Like

@Nital_Patil
If you want to run only 3 times then either use a do while loop or while loop and set a counter variable
if the answer is wrong then increment the counter variable

Hope it helps

1 Like

no actually after guessing wrong we have to only give only 3 attempts after that the program should be ended

As i said when u use counter variable , if that counter =3
then use Terminate workflow activity

1 Like