Switch-Case in Logicblocks

Would you consider adding Switch/Case as an ability to iterate over values? For example, if I use a lookup field, I want to check what the user has selected and trigger different logic. Currently, I have to do a lot of

If selected A DO …
If selected B DO …
If selected C DO …

It would be a bit easier if we could use SWITCH Field:

CASE A:
Logic for A
CASE B:
Logic for B
CASE C:
Logic for C
DEFAULT:
Logic for any other scenario…

Yes, this is a known ask and we are tracking a feature request for it. I can’t guarantee if or when it will be completed, but keep an eye on release notes!

If you are a customer or partner, please work with support to create a ticket and provide your specific use cases - do you have scenarios that a variety of If statements cannot handle that a Case statement can, or would it just make some development simpler?

1 Like

It would just make a development simpler, it is not something we could not build without.

1 Like