The “Switch” activity does not allow expression in case (VB “select case” allows this). So the option is to use InvokeCode “helper” where you could use the power of “select case” to determine the case.
Similar case here:
Cheers