Switch Function to find whether a variable is empty

If I have variable 1 to be empty, I’ll run a certain process. If I have variable 2 to be empty, I’ll run another process. If I have variable 3 empty, I’ll run another process. How am I suppose to use a switch function in this case to test whether a variable is empty or not?

@_itslw

check as below
Main.xaml (6.0 KB)

Hope this helps you

Thanks

Hi,

If your type of variables is String, the following will work.

img20201108-1

Note: TypeArgument of Switch activity is Int32.

Regards,