How does the Switch activity works?

Do I understand it correctly?

If my variable is: apples, then the 1 will be returned.

Is it how the switch activity works?

image

Hi @anon40731888,

Check below links

https://docs.uipath.com/activities/other/latest/user-guide/switch

Thanks,

1 Like

Hello @RajKumar_DC
Switch activity works based on the value in Expression.
The case is the predefined output.
For example, If the variable value was Apple, then perform the Apple case.
If the variable is Grapes, then 2nd case will work and vice versa.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.