I’m making my first bubble app, and I decided to use option sets for some constant enumerated values (ie my system has orders and every order has a status, there’s a status option set with entries like “redeemed”, “canceled” etc. Side question: if experienced bubble devs think this is better done in a database table than option set, please advise!)
Now, I want to do a query like “get all the orders with a status in (A,B,C)”. What I can’t figure out is a good way to make a list of (A,B,C) to compare the status to. The best I’ve come up with is a workflow on page load that adds each status I want in a particular set into a custom state attached to an element and then referencing that, but it seems kind of janky.
Another option is to add more fields to the option set to express this (Maybe I have 8 statuses, and some should be grouped as “ok” and some should be grouped as “problem”)
I can add a field for ok/problem and then get all options, filter by this, and then use that list to search, but also seems non ideal.
What I really would like is some plugin that adds “Arbitrary list” to the dropdown for options along side these others
Thoughts? What’s the most “Bubble” way to do this?