Changeable States / Variables in Backend

I need states in backend which I can change through many steps and in the end, I want to access the value of this state.
In frontend, I can do it easily by creating a state on an element. But in backend there is nothing like this. And I do not need only a variable where you can save something and access it by “Result of Step 1”.
I need something where I can change the same value over and over again and at the end I want to access this value. Example:
Step 1: Set product_type to “A” if condition “X” is true.
Step 2: Set product_type to “B” if condition “Y” is true.
Step 3: Set product_type to “C” if condition “Z” is true.
Step 4: Access product_type (no matter what condition is true)

This is a simple example. My work contains more complex steps.
I have heard of “Ultimate Toolkit” and “List Popper And Friends”, but they are not really creating the states but only variables. Most of the features work that I can access the result of a step. But as I dont know what condition is true, I cannot tell what step do I have to access

This topic was automatically closed after 70 days. New replies are no longer allowed.