Compilation error running switch activity

compilation error when running switch activity

Hi @ccmasterrpa

Welcome in Community

Check the data types of the input and output variables. Ensure that they are compatible with the data types specified in the cases of the switch activity. For example, if the input variable is of type Integer, make sure that the cases in the switch activity are also of type Integer.

Also check syntax errors in the expressions used in the cases of the switch activity. Make sure that the expressions are valid and do not contain any typos or errors.

If none of the above steps resolve the issue, try restarting UiPath Studio or refreshing the project. This can sometimes help to resolve any temporary glitches or conflicts that may be causing the compilation error.
:+1:

Hi,
I have done your suggestions, still getting the error.

@ccmasterrpa

Can you please show what error you are getting

cheers