Else if after updating lost its activities inside

Hello guys. I just published my project to assistant, after that, the Else If activity in my sequence lost all its activities inside. I dont know what to do now. The Else if activity looks like this now


Any tips on how can i get back my activities back?

@Povilas_Jonikas

It’s known bug reported already by many users.

@Raluca_Laic, @loginerror, any update on this please?

Kindly try below Fixes for Else If activity losing inner activities :-

Select Else If → Properties → ElseIfs → click … → Expand → OK

Right‑click Else If → Open / Show Children / Expand All

Switch Studio Profile (Modern ↔ Classic) → Restart Studio

Go to Manage Packages → Downgrade UiPath.Core.Activities to previous version

Close UiPath Studio → Reopen project

Open .xaml with XML Editor → Check ui:IfElseIf blocks

Copy activities from XAML → Paste into new If / Sequence

Replace Else If with Flowchart or nested If (last option)

Do NOT

Do not delete the Else If immediately

Do not republish repeatedly

Do not assume activities are deleted

@Povilas_Jonikas , what version of Studio are you currently using, also can you share the dependencies listed in the Explorer panel, especially the System one?

@ashokkarale , the issue linked has been resolved in S190 and is somewhat different from this. In that one, the activities contained in the else if container weren’t visible. In this case, the activity is collapsed completely and doesn’t have any visible properties in the designer.

Hello and thanks for reaching out. The studio version im using is Studio 2026.0.191 STS

Theese are the dependencies:

I would really appreciate some help resolving this issue, because the project that is broken has some value to me. Thanks for the help :slight_smile:

Thanks for the tips. I tried them all, but they dont seem to work. Im text editor i can see that the activities inside else if are still present, but i just cant see them whatever I do. If i keep repasting them, the else if, If and ect activities keep bugging out and hide my activities nested inside them

Hi @Povilas_Jonikas , looking at the dependencies, I see you have the runtime versions of the System and UIAutomation activity packages. My recommendation here would be to replace them with the “normal” versions and this should remediate the issue you are seeing with the Else If activity.

I will for sure try that, but can i get a quick “tutorial” on how to do that? Im really afraid to delete or change anything so I dont ruin my workflow completely