What is the best way to retry an transaction which had a system exception but exception was thrown in the middle of the transaction.
Let me explain through an example.
The Workflow looks like.
Get Transaction Data
Process an invoice
Make a payment
Update Excel File
So if the system exception is thrown at step 2 or 3, rather retrying the transaction from step. How to “Resume” or rollback the transction.
Where in Framework can i put activities to rollback the transaction?