I’m trying to edit the case values in a switch statement in one of my workflows. The switch statement is inside of a for each loop. When editing a case value (in the properties tab), I get a message saying, “Property editing not available”, which takes up the entire properties tab and does not allow me to edit the case value. I’m using UiPath.System.Activites version 26.6.1. Does anyone know what the problem is?
@Venkat_Vulava , The usual error I see is related to the argument type. By default, the argument type is often set to Int32. If you are passing a string value into a case while the argument type is still set to Int32, it will not allow it. I would first check the argument type and update it based on the requirement, such as Int32, String, or another appropriate type.
Thank you for your help, however I already had the expression type set to “String” in the dropdown. This does not fix the issue (or change it). For reference, I pasted an image of an example (this is from UiPath’s automation developer professional training). Creating a new case and then trying to change the case value gives me the error.
@Venkat_Vulava thanks for posting screenshot, is it possible to post a screenshot that shows you complete switch activity? I am sure you might already tried closing and reopening the UiPath studio as well
And also, what will happen if you drag and drop another switch activity, is that showing the same error?
Here is a screenshot of the full switch statement:
Above the for each loop is the initialization of all variables and below is simply printing final values. The default case is empty.
I tried using switch statements outside of my current workflow, and the issue only seems to arise when using an expression type of string.
@Venkat_Vulava , I think I am able to replicate the error, this error is temporary error (Could be a bug in new version), all i have done is, just click on specific case again and start modifying the value then it will disappear, I know this is frustrating, instead of typing one by one letter in case value, just copy and paste entire value
Thank you for the help anyway. I had suspicions that this was a bug, but I wanted to confirm. I was able to complete the switch statement in the previous image by typing a single character at a time, but I’ll start pasting from now on until the issue gets fixed.
Hi @Venkat_Vulava , I am also facing the same issue.
As a workaround, try deleting and recreating the affected case, switching the Expression Type and back, or updating/downgrading the -UiPath.System.Activities package. If the issue only occurs with String switches, it may be a package-specific issue in that version.
Happy Automation


