A collection of 6 cool Server Side Actions:
* List Popper SSA: Given a list, pops the first item off of it and returns that item, along with the now shortened list. Unlike Bubble's "remove" and "minus item" list operations, List Popper preserves duplicate values and does not "Bubble-ize" your list! Useful in recursive API Workflows.
* FLOW State List SSA: A custom state, but for server-side (API aka "backend") workflows. This one holds lists. It's like a local variable for your server-side workflows. (Why isn't this just built into Bubble, eh?)
* FLOW State Single SSA: A custom state, but for server-side (API aka "backend") workflows. This one holds single items. Think of it like a local variable for your server-side workflows. Since the input item can be an expression, you can now do intermediate operations on data values inside of your workflow. This plugin is so trivial that it's hard to believe this isn't just built into Bubble. (Whatever, right?)
* List Pusher SSA: Given a list and an item, the item is pushed onto the list as the last item. The pushed item and updated list are returned. Unlike Bubbles "add" and "plus item" list operators, List Pusher preserves duplicate values and does not "Bubble-ize" your list! (You can create lists like [1, 1, 1, 1].) Handy!
* IndexOf SSA: Find the first or last index of some Item in some List inside of a backend workflow. Enables (among other things) reliable, incremental serial number creation.
* List Slicer Pusher SSA: Combines the features of List Popper and List Pusher, to allow you to "slice" (some number of) items off of one list then optionally push (some or all of a list of) new items onto the resulting list, returning the sliced items, the pushed items, the remaining list, and the remaining list of items to push. So, sort of like two List Poppers in one, but accepts and returns lists. It's fancy. In recursive workflows this can be used to deplete a list by more than 1 item at a time, concatenate two lists, split a list in two, etc., etc. Many different applications!
REMINDER: List Popper & Friends is Karma-Ware. Using them without contributing at
https://grupz.com/karma will lead to your loved ones (or possibly that woman you see every morning at Starbucks but have never bothered to properly meet) being horribly disfigured and/or maimed in an inexplicable wood-chipper accident. It's been known to happen. You've been warned.