Hi guys, could you please help me to use pick branch activity
Hi @Anil_G i need a clear understanding how to use pick branch, kindly help me to get the solution for the below mentioned scenario
So there is field will take the password…
So we are intentionally giving wrong password…
So it will gives the pop up showing that "you have 1 chance is done out of 3
Like 3 pop ups will come when we are continuously giving wrong password intentionally
So for this scenario i want to use pick branch…
Kindly help me
To use the Pick branch activity in UiPath to handle the scenario that you described, you can do the following:
- Use the
Get Password
activity to prompt the user for a password and store the entered password in a string variable. - Use a
Pick
activity to specify the different branches that should be executed based on the entered password. - In the first branch of the
Pick
activity, use anIf
activity to check if the entered password is correct. - If the password is incorrect, use a
Counter
variable to keep track of the number of attempts. If the number of attempts is less than 3, use theMessage Box
activity to display a message - If the number of attempts is equal to 3, use the
Message Box
activity to display a message indicating that all chances have been used up and the workflow should be terminated. You can use theTerminate Workflow
activity to terminate the workflow at this point.
Regards,
Kaviyarasu N
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.