I have a process definition with a transaction. During the flow, the user can decide to stop, compensate what he has done so far and start all over as often as he wishes to.
I used signals to model “starting all over”, but I just noticed that Camunda sends its signals globally to all process instances.
Could someone please give me a hint how to handle this in a way that my processes can run independently from each other?
Do I have to use messages? To me it seems to be kind of an overhead, but I could not find any other solution so far.
In my real process, the transaction contains more than one task and I have to make sure that the transaction is interrupted and left as soon as the user wants to reset the process. I guess this is not possible when using an embedded process?
I came up with a flow using messages and pools. This works fine except that the compensation task does not come up:
When I complete “eat ice cream” and, after that, reset the process with “reject ice cream flavour” , I get “report message receival” as next task, so sending and receiving the message works fine
But after that I get “eat ice cream” again and no compensation task.