Make A option to pass in array in a multi option split

Hey there.
I would like to request in for a feature. i have a huge split case to chose what page the user should be navigated to after a login.
I have a “enum” array with the 19 different states. And some of the Enums are redirecting to the same page.

I think it would be nice to add a option to bind the options from the split either as a array input or a option to bind the value for each option.

or i would like a new way to have a switch inside workflows.

im open to any suggestions as to make this problem easier in the current version of weweb.

here is a picture of my Workflow:

If your workflow is simply If this then redirect, you can create an object where key is your enums values and value is your page ids. You can bind the page, to the page_id and it will bring you to that page.

yes. This makes sense :slight_smile: