Else-IF not working

I am experiencing a bug in the Else-IF (modern) behavior.
Basically it does not evaluate the condition as it should.

Has anyone had the same problem?

Not working

Working

Version System Activties: “UiPath.System.Activities”: “[22.10.4]”,

@Wilgenhoff_Adrian

Welcome to the community

I just tested and if else is working as expected

Can you tell what is the issue you are seeing

Cheers

Sorry, I didn’t give details hehehe

My problem is that the first condition gives False when it should give True or it is skipping to evaluate the first condition.
I used flowchart and flow decision with the same conditions and no problem.

One of the developers in my team had it happen and I didn’t believe him, until this week I had to change If-Else to FlowChart- twice.

Hey @Wilgenhoff_Adrian After seeing your else if screen shot, I think you should use switch case activity for these conditions it will be efficient and accurate!

Regards,
Ajay Mishra

Hi @Wilgenhoff_Adrian - if possible, can you provide your .xaml?

Hi @Wilgenhoff_Adrian

I second:

It would help a lot, or at least to know the variable types and their state before the execution of the Else If activity.

And lastly - checking against System 24.3.1 would also be appreciated, to see if this behaviour was maybe fixed in the meantime.