Hope Everyone is doing well!
Running into an issue with an idea, and I may just have to find a different way to do this but ultimately I want a button that will look at a category a “thing” is in and bring it to the next category. More context and set up below:
Context
I am creating some utility to let my users submit new feature ideas for my app, as well as vote on them to accomplish two things: I can communicate to my community what I am working on, and I can see what my community wants offered.
Setup
I have an Option set of Status’s. These are “Under Review”, “Planned”, “In Progress”, “Complete” and “Denied”. Specifically in this order.
I have a Thing called Feature, that has the Status option as an item within the table. Each Feature can only have one status at a time
What Should Happen
When I click a specific button called “Promote”, it will edit the Feature Status from it’s current Option to the next, in the order that is referenced above. So if something is “In Progress”, I can click the button and move it to “Complete” when I am done. Or if it has “Under Review” as a status, I can click the button and change it’s status to “Planned”, etc.
Initial Thoughts
I could guess I could have a workflow that has multiple actions that all have a “when” requirement. so…
Action 1 - Change Thing (Features Status) to “Planned” when Features Status is “Under Review”
Action 2 - Change Thing (Features Status) to “In Progress” when Features Status is “Planned”
Action 3 - …etc…
However, this feels very cumbersome and if I ever wanted to change my Option Set for statuses, this workflow would have to be changed to match and continue working.
Any ideas what other options we have, to be more flexible, efficient, and elegant?