Getting a "Option Strict On disallows implicit conversions from string to integer" error when trying to use the Switch activity

Here is what I keep getting. Any advice?



Could you please check TypeOfArgument once for Switch activity.



Hi @LeoHeff
You were almost done buddy

–if the value of is a userResponse is in string type and the switch case has its property TypeArgument as Int32, then change the type argument property to string…so they will get matched
–if we want to process the value of userResponse as int32 , then let the TypeArgument property of switch case be int32 and inside the Expression in the activity mention like this buddy

Finally both the type should be same that is the datatype of userResponse and the type argument property of switch case and its case value must be same

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