Adding "else" condition when using Switch in KITe Java
-
mj0012
- Posts: 5
- Joined: Mon Dec 06, 2021 10:23 pm
Adding "else" condition when using Switch in KITe Java
When using the Switch option in KITe Java, is there an easy way to add an "else" condition? So, something that happens if none of the previous conditions have been met? Or would I have to switch to scripting to do that?
-
Alexey Kolesnikov
- Posts: 711
- Joined: Fri Mar 01, 2013 1:03 pm
Re: Adding "else" condition when using Switch in KITe Java
You can add "Custom" condition with empty condition:
if [Custom] [<empty>] -> <action>
This action will be executed as "else" if you are using "exclusive" switch.
if [Custom] [<empty>] -> <action>
This action will be executed as "else" if you are using "exclusive" switch.
Best regards,
Alexey Kolesnikov
Alexey Kolesnikov
-
mj0012
- Posts: 5
- Joined: Mon Dec 06, 2021 10:23 pm
Re: Adding "else" condition when using Switch in KITe Java
Great, thank you so much!