How to add Else IF to already written If Else activity

This seems like it should be easy, but I can’t figure it out.

I’ve already created a process that uses an IF-ELSE activity. Now, I need to add an additional ELSE-IF before the final ELSE. In code, this would be trivial. Is there an easy way to do this in Studio?

UPDATE: This seems to works now in new Studio. See bottom 2 replies.

@Terry_Marr,

You will have to add new Else If activity. You can’t add Else If condition to If activity.

Thanks,
Ashok :slight_smile:

Sadly the only way to do it is to copy the Else Sequence, paste it outside the Else If, delete the Else block, add your new Else If, then copy the Else Sequence back to the Else.

Are you kidding me? Jesus, that’s a lot of work for something so trivial to code. This should be built into this activity. “Add Else-IF”

1 Like

@Terry_Marr,

Ohh wait…There is easy way added in recent release. You can add Else If without worrying about Else part. Tried this on UiPath.System.Activities version 24.10.3. Update and try.

Else If

Thanks,
Ashok :slight_smile:

1 Like

We usually use 23.4 of UiPath.System.Activities. I just tried it with 24.10 and they have indeed fixed this.

image

1 Like

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