Taking the example of money transfer in a banking app described in the docs, I have a question regarding a scenario.
Money transfer has 2 steps: withdrawal and deposit. Let’s say withdrawal was a success. Now while trying to deposit, it fails because the routing number is incorrect. Now I want the withdrawal to be rolled back. I’m trying to make a case where if an activity fails, the previous activities should be rolled back.