We are testing out a design where we need have a object that can be activated and deactivated several times.
A activate Workflow could be started several times as well as a termination Workflow. But both cannot run in the same time and they should run in the sequence they where triggered.
So the user could call
ACTIVATE, DEACTIVATE, ACTIVATE
Each request is parsed ad validated as part of a initial Workflow and then it should be passed on to a for that object unique Workflow to handle the actual activate and deactivate in the order they came in. (it’s important that activate and deactivate dont run at the same time)
How do you recommend we do this with temporal?