I’m encountering an issue where the code inside my Switch Case activity disappears. I develop and save the code within the Switch Case, but when I close and reopen the workflow, only the Switch Case activity remains—the code developed inside the Switch Case is gone.
Has anyone else faced this issue recently? Any guidance on how to resolve it would be greatly appreciated!
It was a known bug in some version of UiPath.System.Activies. I don’t remember the version but try upgrading or downgrading the package version and check.
I’m experiencing the same issue—my code has disappeared.
I’m using UiPath Studio version 2025.0.157 - Enterprise and first noticed the problem while working with the UiPath.System.Activities v25.2.1 package. I downgraded it to v24.10.7, but the issue persisted.
During my investigation, I discovered something unusual: an additional hidden workflow with the same name as the affected one. Please see the following snippet.
This unexpected workflow appears to be the most primitive (initial) version of my workflow. Upon opening it, I found that it contained older activities that are now missing from my latest version.
I’m not sure where this hidden workflow is coming from or why it’s interfering with my current version.
If you’re facing the same issue, I suggest checking your system settings, making all files visible, and verifying if a similar hidden workflow exists.
I am facing the same issue using Studio Desktop version 2025.0.157. Using UiPath.System.Activities v25.4.4. The case seems to break if I try to use a multiple assignment activity. The workflow will stop recognizing that the case exists, the case will stop recognizing any variables in the workflow and the outline will not recognize the case’s sequence. If I reopen the xaml, the case will be blank and no longer editable.
When I stopped using the multiple assignment activity in the case, this issue does not happen.